Skip to content
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

Add x-nullable: true for Option[T] #300

Closed
kbedel opened this issue Dec 13, 2019 · 0 comments · Fixed by #302
Closed

Add x-nullable: true for Option[T] #300

kbedel opened this issue Dec 13, 2019 · 0 comments · Fixed by #302

Comments

@kbedel
Copy link
Contributor

kbedel commented Dec 13, 2019

Newer versions of openapi-generator require the x-nullable vendor extension property in order to generate nullable types when using an OAS2 specification. See https://openapi-generator.tech/docs/swagger-codegen-migration#nullable and OpenAPITools/openapi-generator#3725 (comment) for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant