You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generated validator constraints for string properties always contain minlength >=0 . I don't understand why .
It's a problem with special formats (binary for example) because of charset validation made in symfony minlength.
Jane version(s) affected: 7.5.1
Description
Generated validator constraints for string properties always contain minlength >=0 . I don't understand why .
It's a problem with special formats (binary for example) because of charset validation made in symfony minlength.
How to reproduce
OpenAPI file
Failed on validation =>
Possible Solution
\jane-php\json-schema\Guesser\Validator\String_\MinLengthValidator.php line 21
Perhaps add a test to add minLength only if needed
The text was updated successfully, but these errors were encountered: