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
For use with fastify-swagger, I'd like to be able to add examples at the property level and at the schema level.
From reading the code, it seems like this library just pipes the output from https://github.com/StefanTerdell/zod-to-json-schema, but that library only concerns itself with json schema, not OpenAPI, so it wouldn't even be in scope for that library to emit examples.
So how would I go about adding example property/schema here? if it's not possible, what needs to be changed/added?
Thanks
The text was updated successfully, but these errors were encountered:
For use with fastify-swagger, I'd like to be able to add examples at the property level and at the schema level.
From reading the code, it seems like this library just pipes the output from https://github.com/StefanTerdell/zod-to-json-schema, but that library only concerns itself with json schema, not OpenAPI, so it wouldn't even be in scope for that library to emit examples.
So how would I go about adding example property/schema here? if it's not possible, what needs to be changed/added?
Thanks
The text was updated successfully, but these errors were encountered: