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

Show null as example for a field #182

Open
aviaryan opened this issue Jun 27, 2016 · 2 comments
Open

Show null as example for a field #182

aviaryan opened this issue Jun 27, 2016 · 2 comments

Comments

@aviaryan
Copy link

I need to show null as example for a field. Is it possible ?
I tried setting schema_example to None but that didn't work.

@fixedd
Copy link
Contributor

fixedd commented Sep 16, 2016

JSONSchema doesn't support null fields, although it is proposed for the next version: OAI/OpenAPI-Specification#741

@webron
Copy link

webron commented Feb 22, 2017

This has been added for 3.0.

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

No branches or pull requests

3 participants