$ref and description/title
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
$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
?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
... or even this (which I found on Internet):
myProperty:
description: My description
allOf:
- $ref: '#/components/schemas/MyType'
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!
As I understand, version 3.1 is not released yet? Do you know anything about planned release date?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. It's good to know that this perplexing and crippling limitation has been addressed, at least for 3.1. Let's hope it's released soon.
