turkerdev / fastify-type-provider-zod

MIT License
303 stars 19 forks source link

Support nested content types #89

Open cs97dah opened 1 month ago

cs97dah commented 1 month ago

Hi, Thanks for making this library. I wonder if you would be interested in this PR which adds support for multiple response content type responses as described here: https://github.com/fastify/fastify-swagger?#different-content-types-responses I hope I've created this PR in line with your process, but let me know if I've missed anything and I will correct it. I'd be interested to get your feedback on this. Cheers.

kibertoad commented 3 weeks ago

@cs97dah Hey! This does look interesting, but index.ts is getting very cluttered by now. Maybe you could extract some of the code outside of it?