Open P-Lng opened 1 month ago
An array item that has pattern and minLength/maxLength defined, only shows pattern. Plain properties behave as expected, they display both.
pattern
minLength
maxLength
Expected behavior Show all restrictions: Array of strings [[ 1 .. 10 ] characters ^[A-Z]+$]
Array of strings [[ 1 .. 10 ] characters ^[A-Z]+$]
Minimal reproducible OpenAPI snippet
properties: plain_property: type: string pattern: '^[A-Z]+$' minLength: 1 maxLength: 10 array_items: type: array items: type: string pattern: '^[A-Z]+$' minLength: 1 maxLength: 10
An array item that has
pattern
andminLength
/maxLength
defined, only showspattern
. Plain properties behave as expected, they display both.Expected behavior Show all restrictions:
Array of strings [[ 1 .. 10 ] characters ^[A-Z]+$]
Minimal reproducible OpenAPI snippet