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

fix: bug with exportAllNamedSchemas #270

Closed codingmatty closed 5 months ago

codingmatty commented 5 months ago

After updating the package to 1.16.0 I realized it was only half a fix. When using the exportAllNamedSchemas option it did create new names for duplicate schemas, but then if it tried to use those names again it would end up using the last known name for the schema instead.

vercel[bot] commented 5 months ago

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

Name Status Preview Comments Updated (UTC)
openapi-zod-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2024 2:29am