screwdriver-cd / screwdriver

An open source build platform designed for continuous delivery.
http://screwdriver.cd
Other
1.01k stars 170 forks source link

swagger.json - Maximum versus maxLength #91

Closed nicolaifsf closed 8 years ago

nicolaifsf commented 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.

nicolaifsf commented 8 years ago

This is resolved by the latest version of hapi-swagger