Closed burt202 closed 1 week ago
v3.0.5
will resolve this, having a wider version for our peerDependency @kubb/react
resolved the issue.
Great thanks. 3.0.5
fixed the issue
I wasn't even using the @kubb/react but hit this bug. so adding @kubb/react finally fixed it, even if you're using it or not.
What version of
kubb
is running?3.0.4
What platform is your computer?
Linux
What version of external packages are you using(
@tanstack-query
,MSW
,React
,Vue
, ...)See linked repo below
What steps can reproduce the bug?
Maybe similar to https://github.com/kubb-labs/kubb/issues/1379 but Im getting it when using
3.0.4
. For repro, clone repo linked below andnpm ci
andnpm run generate
https://github.com/burt202/kubb-test/tree/master
Basically im trying to upgrade our setup to v3, which takes a yml openapi docs link and spits out generated TS for it. Im expecting the
generated/
folder to contain the following on successful run:Any help would be appreciated as to what im doing wrong. Cheers!
How often does this bug happen?
Every time
What is the expected behavior?
No response
Swagger/OpenAPI file?
No response
Additional information
No response