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

Consider nullable typed default null case. #36

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jul 28, 2024

Trying to test OpenAI's swagger document file, I found a bug that current @samchon/openapi could not cover default: null value case about nullable atomic type case like type: string and type: number.

This PR fixes the bug, by changing types and converters.

@samchon samchon added bug Something isn't working enhancement New feature or request labels Jul 28, 2024
@samchon samchon self-assigned this Jul 28, 2024
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 9.12 kB types
npm/[email protected] Transitive: environment, filesystem +1 576 kB vitaly

View full report↗︎

Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem be solved.

@samchon samchon merged commit 2aef676 into master Jul 28, 2024
4 checks passed
@samchon samchon deleted the feature/nullable-default branch July 28, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant