astahmer / openapi-zod-client

Generate a zodios (typescript http client with zod validation) from an OpenAPI spec (json/yaml)
openapi-zod-client.vercel.app
717 stars 80 forks source link

feat: schema refiner #283

Closed dgadelha closed 4 months ago

dgadelha commented 4 months ago

This PR is an update for my previous PR (https://github.com/astahmer/openapi-zod-client/pull/282), adding a function to allow refining the schema sent to getZodSchema

I've also created a test with the use case of my previous PR

Please let me know if this meets your suggestion @astahmer

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
openapi-zod-client-rim4 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2024 6:54pm
astahmer commented 4 months ago

this looks great ! thank you so much for working on this 🙏