-
Notifications
You must be signed in to change notification settings - Fork 312
Open
Description
With using schema-style="table"
I have an excerpt from my openapi file:
components:
schemas:
ExampleSchemaA:
oneOf:
- $ref: '#/components/schemas/Blahblah'
- $ref: '#/components/schemas/Blahblah2'
ExampleSchemaB:
... (some normal definition not using oneOf) ....
requestBodies:
ExampleRequestBody:
required: true
content:
application/vnd.api+json:
schema:
type: object
required:
- data
properties:
data:
type: object
properties:
type:
type: string
attributes:
description: The attributes of the asset being registered
anyOf:
- $ref: '#/components/schemas/ExampleSchemaA'
- $ref: '#/components/schemas/ExampleSchemaB'
required:
- type
- attributes
This ends up rendering something like this:
If the default tree
schema style is used, it renders as I would expect:
Thank you for taking the time to read! Let me know if you need some more information from my side
Metadata
Metadata
Assignees
Labels
No labels