You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to openAPI 3.1 specification it is possible now to overwrite descriptions and summary where objects are referenced: When using the Reference Object, summary and description fields can now be overridden. https://github.com/OAI/OpenAPI-Specification/releases
e.g.
paths:
/items:
post:
parameters:
- $ref: '#/components/parameters/item'description: The specific item in question
RapiDoc seems to render the description from the referenced object only.
We use this quite heavily to re-use models and change some description details in the specific context.
Would love to see the that part of openAPI 3.1 spec implemented in the future. :-)
AlaNDGT, lucianojs, hrs-o, robelcik, adam-homeboost and 1 more