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 I have a required field which has type of a union which is itself defined as a type, the field is just a ref to that type, when I make the field optional with ?, I get an anyOf, not a $ref.
If this is intentional and therefore won't be changed, is there a way to change behaviour to be consistent?
Great library, thanks so much.
When I have a required field which has type of a union which is itself defined as a type, the field is just a ref to that type, when I make the field optional with
?
, I get ananyOf
, not a$ref
.If this is intentional and therefore won't be changed, is there a way to change behaviour to be consistent?
Example - field required
Schema:
Example - field not required
Schema:
The text was updated successfully, but these errors were encountered: