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
{{ message }}
Repository navigation
field: Schema | None = None should generate anyOf where null is the last item #1027
Looks like that Swagger just takes the first value from anyOf, it would be reasonable to change the order. It would also be more semantically similar to how Schema | None is used in Python, not None | Schema
Activity
place `null` last in `anyOf` for optional unions in JSON schema (msgs…