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

Differentiate between a type being null and undefined/None #59

Merged

Conversation

stufisher
Copy link
Contributor

The changes in #53 seem to break genuine any type definitions. I'm not an openapi expert but swagger tells me that if type is not defined, i.e. undefined/None then this is considered any. The other case where it is defined as null should be correctly translated as None.

I split the branch to allow genuine anys.

@MarcoMuellner
Copy link
Owner

Hey there, thanks for your contribution. I'll gladly merge this

@MarcoMuellner MarcoMuellner merged commit 568677b into MarcoMuellner:main Dec 22, 2023
2 of 4 checks passed
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