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

Minimum > Maximum isnt flagged #2376

Open
savage-alex opened this issue Jan 3, 2023 · 0 comments
Open

Minimum > Maximum isnt flagged #2376

savage-alex opened this issue Jan 3, 2023 · 0 comments
Labels
enhancement New feature or request triaged

Comments

@savage-alex
Copy link

When making an API definition I accidently defined a minimum value for an integer that was larger than the maximum.
Spectral picked up that the example was wrong but didnt flag that the constraints themselves were mixed.

It would been brilliant if spectral could have flagged this mismatch so it was clear they were not done correctly. Thanks

@mnaumanali94 mnaumanali94 added the enhancement New feature or request label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged
Projects
None yet
Development

No branches or pull requests

2 participants