-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling of nullable for $ref in OpenAPI 3.0 #39
Comments
Looks good, thanks for the super fast maintenance! |
@bluenote10 currently I have problem with parsing this case
I guess it should be like
|
Yes combining |
I think I covered most cases with usage |
Should be fixed in release 1.6.3 |
can you handle this part?
|
I have an API that needs to differentiate between properties that are
T | null
andT | undefined
. It looks like usingnullable
works for basic types but is ignored for$ref
:Generates:
Note: The OpenAPI 3.1 syntax
works, but I'm forced to use OpenAPI 3.0 because of constraints from other tooling.
Can this be achieved somehow?
Edit, relevant resources:
If I interpret these (long) discussions correctly, at least the
allOf
wrapping should work?The text was updated successfully, but these errors were encountered: