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

x-nullable support #128

Merged
merged 1 commit into from
Mar 22, 2018
Merged

x-nullable support #128

merged 1 commit into from
Mar 22, 2018

Conversation

schursin
Copy link
Contributor

@schursin schursin commented Mar 22, 2018

We want to support properties in our API endpoints which may be set to the value null. We can indicate this in Swagger with the x-nullable property, for which there is precedent: OAI/OpenAPI-Specification#229 (comment).

property (with x-nullable) visualization before patch:
some_id: integer

after patch:
some_id: integer | null

@auscaster auscaster merged commit bdf2846 into sourcey:master Mar 22, 2018
@auscaster
Copy link
Member

Great, thanks! I'll merge it in :)

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 this pull request may close these issues.

2 participants