You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When defining in open API a component that only reference "subtypes", which all include a shared other component,
the generated code will:
not compile
has duplicate classes (subtype are both nested in sealed trait companion, and have standalone redundant copy)
shared fields is not referenced by any endpoint, but has its own redundant class generated
Describe the bug
When defining in open API a component that only reference "subtypes", which all include a shared other component,
the generated code will:
To Reproduce
generate from the following example:
and examine the generated classes:
Expected behaviour
Screenshots
The text was updated successfully, but these errors were encountered: