turkerdev / fastify-type-provider-zod

MIT License
411 stars 25 forks source link

Support nested content types #89

Open cs97dah opened 5 months ago

cs97dah commented 5 months 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 5 months 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?