Forum Discussion

KlausPeter's avatar
KlausPeter
Visitor
5 years ago

OpenAPI 3 define array mixed types without object type

To avoid response size >1Mbyte to GET array of a fixed mixed array structure such as customer: Howto define a mixed array with pure data without repetitive field names?

[ [„John“,“Tannert“,37,true,“CA“], [„Mary“,“Adley“,44,true,“MD“], [„Kevin“,“Hamton“,27,false,“MI“] ]

1 Reply

  • Hi Klaus,

    This looks like an Array of Array to me

    The model of the inner array looks like string string integer boolean string

    Does that help to model the response schema?