Skip to content

Support openapi style JSON schema output #287

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

Closed
robaca opened this issue May 29, 2019 · 1 comment
Closed

Support openapi style JSON schema output #287

robaca opened this issue May 29, 2019 · 1 comment

Comments

@robaca
Copy link

robaca commented May 29, 2019

In OpenAPI 3 documents, "type": ["null", "string"] is not supported. Instead you have to specify a property via "type": "string", "nullable": true"

Please provide a command line argument to optimize the output for OpenAPI 3 compatibility.

@domoritz
Copy link
Collaborator

As far as I know, nullable is not a valid JSON schema property. Unless I am missing something, it is not possible to do this, unfortunately.

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

2 participants