swagger-tools icon indicating copy to clipboard operation
swagger-tools copied to clipboard

Array items validation is not getting picked by swagger-codegen-maven-plugin 2.4.5

Open dhiraj-u-kumar opened this issue 3 years ago • 0 comments

code snippet for AddressBox array : AddressBox: items: type: string minLength: 1 maxLength: 70 type: array description: >- Information that locates and identifies a specific address, as defined by postal services, presented in free format text. minItems: 0 maxItems: 7

Here the items validation for minLength and maxLength is not picked. Although minItems and maxItems validation worked well. Can anyone guide me on the same and thanks in advance.

dhiraj-u-kumar avatar Jul 06 '21 06:07 dhiraj-u-kumar