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

Add support for nullable OpenAPI fields #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vne
Copy link

@vne vne commented Oct 20, 2021

If nullable attribute of a field in OpenAPI spec is set, add 'null' to the list of types in JSON schema (and turn type into list if it's a primitive type)

henrycjc added a commit to henrycjc/openapi2jsonschema_lazarus that referenced this pull request Dec 21, 2021
@larsks
Copy link

larsks commented Mar 30, 2023

I'm collecting fixes in https://github.com/larsks/openapi2jsonschema. I've merged this patch into that repository.

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