Skip to content

Translate allow_none property into x-nullable #109

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

Merged
merged 1 commit into from
Feb 19, 2017
Merged

Translate allow_none property into x-nullable #109

merged 1 commit into from
Feb 19, 2017

Conversation

lafrech
Copy link
Member

@lafrech lafrech commented Feb 19, 2017

This makes allow_none property in a field translate to x-nullable in the spec.

As I wrote in #66 (comment):

It would map to nullable, except nullable does not exist... yet. There seems to be a wide consensus upon the use of x-nullable until nullable is added (OpenAPI 3). It has been integrated in ReDoc, for instance.

@sloria
Copy link
Member

sloria commented Feb 19, 2017

Looks good. Thanks!

@sloria sloria merged commit 02b08b9 into marshmallow-code:dev Feb 19, 2017
@lafrech lafrech deleted the dev_allow_none_nullable branch March 2, 2017 21:25
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