tyteen4a03
7 years agoNew Member
SwaggerHub editor does not support array allOfs in OpenAPI 3
This example gives me a "Cannot read property '0' of undefined" error in SwaggerHub, however the same schema is valid on Swagger Editor:
Response: type: object allOf: - type: object properties: values: type: array items: allOf: - $ref: '#/components/schemas/Id' - $ref: '#/components/schemas/Object' - $ref: '#/components/schemas/Metadata'