I have my swagger definition like :
someDef:
type: object
properties:
enable:
type: boolean
default: false
nodes:
type: array
maxItems: 3
items:
type: object
properties:
ip:
type: string
default: ''
My nodes are array and it has maxitems: 3. I want my nodes items length to be either 0 or 3. Thanks in advance.