Skip to content

To Allow specify (at least) description in response definition when $ref is used #2089

Closed
@ratermir

Description

@ratermir

It would be very useful to be able to add (at least) description to the $ref in case of (at least) response part of the API specification.

It would allow me to specify generic reusable response that could be refined for every concrete use case. Because there are a lot of cases of responses that have the same structure, only the difference is the information why / when the error occurred.

Oxample of the use case:
image

In more generic perspective, it could be useful to allow to "override" some parts of references (examples, parameters ...).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions