Replies: 2 comments
-
Did you figure this out? Running into this as well |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same here, many classes duplicated. The tool doesn't seem to that two models that use the same reference are the same. user_a:
$ref: "#/User"
nullable: true
user_b:
$ref: "#/User"
nullable: true
# generates:
# class UserA()
# class UserB() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm generating models off https://github.com/jgm/djot.js/blob/main/djot-schema.json, and even with
--reuse-model
, I get a empty Pos2, Pos3, Pos4... empty extensions of the Pos type. Is there any way to fix this?(There are also issues with tags, but I guess those are more difficult.)
Cheers,
Álex
Beta Was this translation helpful? Give feedback.
All reactions