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
When generating using a schema that makes use of anyOf and null. The referenced schema in the anyOf is ignored and instead a class by the name of the property is generated. Naturally this breaks with almost 100% of use-cases.
Below is the minimum spec I could design to generate this issue:
When generating using a schema that makes use of anyOf and null. The referenced schema in the anyOf is ignored and instead a class by the name of the property is generated. Naturally this breaks with almost 100% of use-cases.
Below is the minimum spec I could design to generate this issue:
The offending section of generated client.
Easiest solution to this when the spec can be changed is to replace
anyOf
withoneOf
where it appears to interpret correctly.The text was updated successfully, but these errors were encountered: