We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
allOf
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using just $ref the referenced schema is displayed.
$ref
first: $ref: '#/components/schemas/SomeType'
But when using allOf the original schemas aren't displayed any more.
second: allOf: - $ref: '#/components/schemas/SomeType' third: allOf: - $ref: '#/components/schemas/SomeType' - $ref: '#/components/schemas/SomeOtherType'
Swagger/OpenAPI definition:
openapi: 3.0.0 info: title: Testing version: 1.0.0 paths: '/': get: responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/MyObject' components: schemas: SomeType: type: string SomeOtherType: type: string MyObject: type: object properties: first: $ref: '#/components/schemas/SomeType' second: allOf: - $ref: '#/components/schemas/SomeType' third: allOf: - $ref: '#/components/schemas/SomeType' - $ref: '#/components/schemas/SomeOtherType'
It would be nice if the schema is also displayed when using allOf.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using just
$ref
the referenced schema is displayed.But when using
allOf
the original schemas aren't displayed any more.Content & configuration
Swagger/OpenAPI definition:
Describe the solution you'd like
It would be nice if the schema is also displayed when using
allOf
.The text was updated successfully, but these errors were encountered: