Closed xalidmalik closed 3 months ago
I'm experiencing the same issues as well.
I'm experiencing the same issues as well.
I think the problem is in PluginTs, because when I make the same setting for PluginZod it works fine
I think the problem is in PluginTs, because when I make the same setting for PluginZod it works fine
I also tried using pluginTs with pluginClient, and encountered the same issue with pluginClient as well. Therefore, it seems pluginTs is currently having issues with transformers.
What version of
kubb
is running?2.19.5
What platform is your computer?
MacOS
What version of external packages are you using(
@tanstack-query
,MSW
,React
,Vue
, ...)"@kubb/plugin-oas": "^2.19.5", "@kubb/swagger-client": "2.19.5", "@kubb/swagger-tanstack-query": "^2.19.5", "@kubb/swagger-ts": "^2.19.5",
What steps can reproduce the bug?
How often does this bug happen?
Every time
What is the expected behavior?
The expected behavior is that the imported names in the generated hooks should match the names in the generated models.
Swagger/OpenAPI file?
Unfortunately this is not possible :(
Additional information
Thank you for creating such an awesome tool! It has significantly streamlined our development process. The transformation functions for hook and model names are implemented, but the generated import names do not match, leading to import errors in the generated hooks. We appreciate your hard work and look forward to any improvements you can provide.