Prerequisites
🚀 Feature Proposal
Examples are currently specified as an array of objects in Fastify schemas/JSON Schemas, and converted to the OpenAPI format by @fastify/swagger. But it generates an automatic id
|
examplesObject['example' + (index + 1)] = { value: example } |
, and you can't control the summary or description. Adding some syntax to be able to control this will be nice. As that is what is displayed in swagger-ui.
Motivation
For nicer display in swagger-ui.
Example
No response