Grape 2.1.0 Introduced the length validator . We can now use the length validator to specify the min/maxItems (for array types) and min/maxLength (for String types) for the attributes that use the validator in the generated swagger document.
Fixed test that was broken with rack 3 and restricted rack < 3 for grape < 2
Grape 2.1.0 Introduced the length validator . We can now use the length validator to specify the
min/maxItems
(for array types) andmin/maxLength
(for String types) for the attributes that use the validator in the generated swagger document.Fixed test that was broken with rack 3 and restricted
rack < 3
forgrape < 2