responses:
'200':
description: Order result
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/orderResponseAck'
- $ref: '#/components/schemas/orderResponseResult'
- $ref: '#/components/schemas/orderResponseFull'
genrating into
type PostFapiV1Order200JSONResponse struct {
union json.RawMessage
}
How should I fill and return this struct in strict server handler? Field union unexported.
genrating into
How should I fill and return this struct in strict server handler? Field union unexported.