Describe the bug
In this article the following example is given:
type: object
properties:
transactionId:
description: ID of the transaction.
allOf:
- $ref: '#/components/schemas/ResourceId'
This should override the description from ResourceId. However, when I try this in a standalone schema file, the generated documentation still contains the description of the child object:
type: object
description: Parent description
allOf:
- $ref: '#/components/schemas/ResourceId'
properties:
additionalProperty:
description: ID of the transaction.
Expected behavior
"Parent description" should appear as description of the parent object
Describe the bug
In this article the following example is given:
This should override the description from ResourceId. However, when I try this in a standalone schema file, the generated documentation still contains the description of the child object:
Expected behavior
"Parent description" should appear as description of the parent object