``` responses: "200": description: Success schema: oneOf: - $ref: "#/definitions/UserWithInt" - $ref: "#/definitions/UserWithString" ``` I get the following error ``` { errors: [ { code: 'ONE_OF_MISSING', message: 'Not a valid response definition', path: [Array], inner: [Array] } ], warnings: [] } ``` However according to [swagger specs](https://swagger.io/docs/specification/describing-responses/#anyof-oneof) this should be allowed.
I get the following error
However according to swagger specs this should be allowed.