LiveRamp / reslang

A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Apache License 2.0
23 stars 7 forks source link

Allow setting min and max length for string data type #7

Closed ajain0184 closed 4 years ago

ajain0184 commented 4 years ago

There's no way to set min or max lengths for strings currently. Swagger allows this, so we should also allow this in reslang.

liveandrew commented 4 years ago

corrected in v1.0.0 - please updated

works like this: name: string min-length:5 max-length:200