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

Maximum/Minimum error messages seem to be reversed #141

Open
ghost opened this issue Apr 22, 2022 · 1 comment
Open

Maximum/Minimum error messages seem to be reversed #141

ghost opened this issue Apr 22, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 22, 2022

In Swaggest\JsonSchema\Schema::processNumeric the error messages regarding maximum/minimum and exclusive maximum/minimum seem to be reversed. At the maximum it says "Value less than ..." and at the exclusive maximum it says "Value less or equal than...". I think it needs to be the other way round. The same for minimum.

@kemal-xx
Copy link

Yes. I just found out about this today. The messages are wrongly reversed between the two.

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