Skip to content

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