We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubb
3.5.1
None
kubb.config.ts
import { defineConfig } from '@kubb/core' import { pluginClient } from '@kubb/plugin-client' import { pluginOas } from '@kubb/plugin-oas' import { pluginReactQuery } from '@kubb/plugin-react-query' import { pluginTs } from '@kubb/plugin-ts' export default defineConfig({ root: '.', input: { path: './.tmp/myproject-swagger-api.json', }, output: { path: './src/lib/myproject-client/gen', clean: true, }, plugins: [ pluginOas({ generators: [] }), pluginTs({}), pluginClient({ include: [ { type: 'operationId', pattern: /operation_a_list|operation_b_list/, }, ], }), pluginReactQuery({ suspense: false, mutation: { methods: ['get', 'delete', 'patch', 'post', 'put'], }, }), ], })
I can't provide
@tanstack-query
MSW
React
Vue
"@tanstack/react-query": "^5.64.2" "react": "^18"
Every time
Only the files specified in the "include" option should be generated as part of the output for the directory "client".
No response
The text was updated successfully, but these errors were encountered:
Note: doing other tests I noticed that the plugin only doesn't work when the "type" option is set to "operationId".
Sorry, something went wrong.
No branches or pull requests
What version of
kubb
is running?3.5.1
What kind of platform do you use?
None
How does your
kubb.config.ts
config look likeSwagger/OpenAPI file?
I can't provide
What version of external packages are you using(
@tanstack-query
,MSW
,React
,Vue
, ...)What steps can reproduce the bug?
How often does this bug happen?
Every time
What is the expected behavior?
Only the files specified in the "include" option should be generated as part of the output for the directory "client".
Additional information
No response
The text was updated successfully, but these errors were encountered: