cancel
Showing results for 
Search instead for 
Did you mean: 

OpenAPI 3 define array mixed types without object type

Highlighted
Visitor

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“] ]

Tags (1)
1 REPLY 1
Highlighted
New Contributor

Re: OpenAPI 3 define array mixed types without object type

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?

New Here?
Join us and watch the welcome video:
Announcements