Forum Discussion

HenrikHL's avatar
HenrikHL
Frequent Contributor
2 years ago

Restrict string lengths in arrays

Hi, I was wondering if it is possible to restrict length of strings in arrays? I have the following structure: shippingMarks: type: array minItems: 1 description: 'List of `ShippingMarks`......
  • chichepo's avatar
    2 years ago

    HenrikHL 
    Do you mean that kind of definition?