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

Migrate swagger Java YAML parser away from 1.1 to YAML 1.2 #1741

Open
ponelat opened this issue Jun 1, 2022 · 0 comments
Open

Migrate swagger Java YAML parser away from 1.1 to YAML 1.2 #1741

ponelat opened this issue Jun 1, 2022 · 0 comments

Comments

@ponelat
Copy link
Member

ponelat commented Jun 1, 2022

Why?
Because there are advanced features of YAML that the OpenAPI specification doesn't support, and these are still acted upon within the current YAML parser.

A simple example is using no as a boolean false, the classic Norway country code can be confused for false :D

country_codes:
# - ...
  - no # Get's parsed as false by YAML 1.1

ping @frantuma in case I'm recreating an already existing issue.

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

1 participant