Plugins
14 extensions · updated
plugins: [pluginTs()]TypeScript
Official@kubb/plugin-ts · v5.0.10Updated
Generates TypeScript types and interfaces from your OpenAPI spec, the typed foundation the other Kubb plugins build on.
plugins: [pluginZod()]Zod
Official@kubb/plugin-zod · v5.4.8Updated
Generates Zod v4 schemas from your OpenAPI spec so you validate API responses, form input, and query params at runtime.
plugins: [pluginClient()]Client
Official@kubb/plugin-client · v5.5.9Updated
Generates typed operation functions from your OpenAPI spec that call a client module you own, so you decide the transport, auth, and error handling.
plugins: [pluginReactQuery()]React Query
Official@kubb/plugin-react-query · v5.3.3Updated
Generates typed TanStack Query helpers for React from your OpenAPI spec: queryOptions and mutationOptions factories with their cache keys. Set hooks to also get useQuery and useMutation hooks, plus useInfiniteQuery when infinite is set.
plugins: [pluginFaker()]Faker
Official@kubb/plugin-faker · v5.1.5Updated
Generates a Faker.js mock-data factory for every schema in your OpenAPI spec.
plugins: [pluginMsw()]MSW
Official@kubb/plugin-msw · v5.0.12Updated
Generates MSW request handlers from your OpenAPI spec so you can mock the API in tests and during local development.
plugins: [pluginBarrel()]Barrel
Official@kubb/plugin-barrel · v5.9.2Updated
Generates index.ts barrel files for every plugin output, plus a root barrel when output.barrel is set on defineConfig.
plugins: [pluginFetch()]Fetch
Official@kubb/plugin-fetch · v5.5.11Updated
Generates a type-safe Fetch API client from your OpenAPI spec, one async function per operation, so each call stays in sync with the API.
plugins: [pluginSwr()]SWR
Official@kubb/plugin-swr · v5.2.5Updated
Generates typed SWR hooks from your OpenAPI spec, so data fetching stays in sync with the API.
plugins: [pluginRedoc()]Redoc
Official@kubb/plugin-redoc · v5.0.8Updated
Generates a single-file HTML page from your OpenAPI spec with Redoc, rebuilt on every Kubb run so the docs match the spec your code comes from.
plugins: [pluginMcp()]MCP
Official@kubb/plugin-mcp · v5.1.2Updated
Generates a Model Context Protocol server from your OpenAPI spec, so AI assistants can call each operation as a typed tool.
plugins: [pluginVueQuery()]Vue Query
Official@kubb/plugin-vue-query · v5.3.3Updated
Generates typed TanStack Query helpers for Vue from your OpenAPI spec: queryOptions factories with their query and mutation keys. Set hooks to also get useQuery and useMutation composables, plus useInfiniteQuery when infinite is set.
plugins: [pluginCypress()]Cypress
Official@kubb/plugin-cypress · v5.0.10Updated
Generates a typed cy.request() wrapper per OpenAPI operation so your Cypress tests call the API through generated helpers and catch broken calls at compile time.
plugins: [pluginAxios()]Axios
Official@kubb/plugin-axios · v5.5.12Updated
Generates a type-safe axios client from your OpenAPI spec, one async function per operation, so each call stays in sync with the API.
@your/extensionBring your own
Write a plugin, adapter or parser in TypeScript, ship a kubb-extension.json, and submit it to the registry.