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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…