Closed vascofg closed 4 months ago
The examples keyword is never transformed to example for shared schemas (added via fastify.addSchema and referred with $ref).
examples
example
fastify.addSchema
$ref
This PR calls the appropriate function on preparation of these shared schemas.
npm run test
npm run benchmark
Any chance you can release a new version anytime soon, including these changes?
The
examples
keyword is never transformed toexample
for shared schemas (added viafastify.addSchema
and referred with$ref
).This PR calls the appropriate function on preparation of these shared schemas.
Checklist
npm run test
andnpm run benchmark