vsr
5 years agoNew Contributor
$ref and description/title
The page https://swagger.io/docs/specification/using-ref/ says that when I am using $ref in an OpenAPI spec all sibling properties are ignored. It is not quite clear if there is a way to workaround this issue. Can I use for example
myProperty:
allOf:
- $ref: '#/components/schemas/MyType'
- description: My description
?