php-json-schema
php-json-schema copied to clipboard
Maximum/Minimum error messages seem to be reversed
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.
Yes. I just found out about this today. The messages are wrongly reversed between the two.