Closed mankdev closed 3 years ago
Hi!
This PR adds generation NonEmptyArray for cases when minItems set and greater than 0.
NonEmptyArray
minItems
0
This behaviour defined in spec
Array Length You can define the minimum and maximum length of an array like so: type: array items: type: integer minItems: 1 maxItems: 10 Without minItems, an empty array is considered valid.
You can define the minimum and maximum length of an array like so:
type: array items: type: integer minItems: 1 maxItems: 10
Without minItems, an empty array is considered valid.
Thanks @mankdev, LGTM
Hi!
This PR adds generation
NonEmptyArray
for cases whenminItems
set and greater than0
.This behaviour defined in spec