I am trying to convert and OpenAPI spec to RAML 0.8.
The definition in OpenAPI is as follows
'200': description: Ok content: application/json: schema: anyOf: - $ref: '#/components/schemas/schemaA' - $ref: '#/components/schemas/schemaB'
How would I define it in the RAML?
I have tried:
200: description: Ok body: application/json: schema: schemaA | schemaB
responses: 200: description: Ok body: application/json: schema: schemaA application/json+B: schame: schemaB
In case of 2, the schema is valid, but would Mule understand a custom json type?