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
Support nullable parameters #197
Conversation
c66e92c
to
795dc6e
Compare
Sometimes your API should explicitly accept _`nullable parameters`. However | ||
OpenAPI specification currently does _`not support` officially a way to serve | ||
this use case, Connexion adds the `x-nullable` vendor extension to parameter | ||
definitions. It's usage would be: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a note saying than if/when a future version of OpenAPI defines an option for this, we will deprecate this extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. I will add that.
👍 |
Can we merge this PR? |
Partially solves #182.
Add support to
x-nullable
vendor extension in Connexion. It is a ongoing discussion in OpenAPI spec, but requested by users of Connexion and acknowledged as a valid use case.Changes proposed in this pull request:
x-nullable
flag in parameter definitions.x-nullable
flag usage.