I have recently delved into the OpenAPI specifications and have been making use of redoc-cli
, however, I have come across a small problem.
I have the following:
"OrderResponse": {
"allOf": [
"$ref": "#/components/schemas/QuoteOrderResponse",
{
"type": "object",
"properties": {
"trips": {
"type": "array",
"$ref": "#/components/schemas/QuoteOrderResponse"
}
}
}
]
},
However, the resulting output is in the form of an object.
Hope there are some gurus here that are able to help me to see what is wrong with this. Cheers.