kubb-labs / kubb

OpenAPI to TypeScript, React-Query, Zod, Zodios, Faker.js, MSW and Axios.
https://kubb.dev
MIT License
568 stars 40 forks source link

Support setting a custom zod import path #1043

Closed rafaelmardojai closed 1 month ago

rafaelmardojai commented 1 month ago

What is the problem this feature would solve?

In some use cases like using zod-i18n for translating error messages you want to use a custom zod instance for your schemas.

External documents/projects?

https://github.com/aiji42/zod-i18n

What is the feature you are proposing to solve the problem?

Allow setting a custom zod import path similar to what we can already do with axios.

What alternatives have you considered?

No response