Closed nicolaifsf closed 8 years ago
According to this standard for json (http://json-schema.org/latest/json-schema-validation.html#anchor26), which go-swagger follows, strings lengths should be validated with maxLength and minLength as opposed to maximum and minimum.
This is resolved by the latest version of hapi-swagger
According to this standard for json (http://json-schema.org/latest/json-schema-validation.html#anchor26), which go-swagger follows, strings lengths should be validated with maxLength and minLength as opposed to maximum and minimum.