radekoziol
6 years agoMember
Array null values
Hello,
Is it possible to define an array that can not contain null?
I'm compiling it to Java with Open API 3.0
f.e for this example
A:
type: array
minItems: 1
items:
$ref: "#/components/schemas/B"
B:
type: string
pattern: ^[a-z]+$
I consider [null] or ["abc",null] invalid
Thanks in advance
Hey Chen-CPA,
If your resourcing isnt a problem then i think id convert my composite file back to flat .xml then back again.
Id be curious if the behaviour disappears and then appears over time again.
Other option is that depending on the above test, i might submit a support ticket to smartbear
Rich