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

[Schema Inaccuracy] Type boolean should not have an enum with true/false #3927

Open
hfhbd opened this issue Sep 2, 2024 · 0 comments
Open

Comments

@hfhbd
Copy link

hfhbd commented Sep 2, 2024

Schema Inaccuracy

Some boolean types have an enum with true and false, but by definition of boolean, the value can only be true or false, and there is no option to have other values.

Expected

Reproduction Steps

Check your api with this regex: "enum": \[\s*true and "enum": \[\s*false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants