spectral icon indicating copy to clipboard operation
spectral copied to clipboard

Minimum > Maximum isnt flagged

Open savage-alex opened this issue 3 years ago • 0 comments

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

savage-alex avatar Jan 03 '23 16:01 savage-alex