Say my API, for performance reasons, sends what semantically should be a record, as an array in JSON.
So we have arrays with fixed number of items, each with their own name and type:
/candles/{id}
[
[
"BTC/USD", // Pair
1529798400000, // Open time
0.00014272, // Open price
0.00014298, // High price
0.00014249, // Low price
0.00014249, // Close price
54247.00000000, // Volume
1529799299999, // Close time
{ // Taker volume
base: 14870.00000000, // buy base asset volume
quote: 2.12351540 // buy quote asset volume
},
7.73785568, // Quote asset volume
],
...
]
How would one describe this in an OpenAPI/Swagger Specification configuration file ? (for consumption by swagger-ui)