Skip to content
Extensions

Plugins

Generate types, clients, hooks, validators and mocks.

14 extensions · updated

Filtered by
Plugin
Client
plugins: [pluginClient()]

Client

Official

@kubb/plugin-client · v5.5.7Updated

Generates typed operation functions from your OpenAPI spec that call a client module you own, so you decide the transport, auth, and error handling.

api-clienthttp-clientcodegen
469.3K 8
Plugin
Barrel
plugins: [pluginBarrel()]

Barrel

Official

@kubb/plugin-barrel · v5.8.3Updated

Generates index.ts barrel files for every plugin output and one root barrel.

barrelindexexports
Stijn Van Hulle 173.5K 1.8K
Plugin
Axios
plugins: [pluginAxios()]

Axios

Official

@kubb/plugin-axios · v5.5.10Updated

Generates a type-safe axios client from your OpenAPI spec, one async function per operation, so each call stays in sync with the API.

api-clientaxioshttp-client
26.8K 8
Plugin
Cypress
plugins: [pluginCypress()]

Cypress

Official

@kubb/plugin-cypress · v5.0.8Updated

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.

cypresse2e-testingapi-testing
— 8
Plugin
Faker
plugins: [pluginFaker()]

Faker

Official

@kubb/plugin-faker · v5.1.3Updated

Generates a Faker.js mock-data factory for every schema in your OpenAPI spec.

fakermock-datamocks
— 8
Plugin
Fetch
plugins: [pluginFetch()]

Fetch

Official

@kubb/plugin-fetch · v5.5.9Updated

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.

api-clientfetchhttp-client
— 8
Plugin
MCP
plugins: [pluginMcp()]

MCP

Official

@kubb/plugin-mcp · v5.1.0Updated

Generates a Model Context Protocol server from your OpenAPI spec, so AI assistants can call each operation as a typed tool.

mcpmodel-context-protocolai
— 8
Plugin
MSW
plugins: [pluginMsw()]

MSW

Official

@kubb/plugin-msw · v5.0.10Updated

Generates MSW request handlers from your OpenAPI spec so you can mock the API in tests and during local development.

mswmock-service-workerapi-mocking
— 8
Plugin
React Query
plugins: [pluginReactQuery()]

React Query

Official

@kubb/plugin-react-query · v5.3.1Updated

Generates typed TanStack Query hooks for React from your OpenAPI spec, so reads and writes call your API through useQuery, useMutation, and useInfiniteQuery without hand-written boilerplate.

react-querytanstack-queryreact
— 8
Plugin
Redoc
plugins: [pluginRedoc()]

Redoc

Official

@kubb/plugin-redoc · v5.0.6Updated

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.

redocapi-docsdocumentation
— 8
Plugin
SWR
plugins: [pluginSwr()]

SWR

Official

@kubb/plugin-swr · v5.2.3Updated

Generates typed SWR hooks from your OpenAPI spec, so data fetching stays in sync with the API.

swrreacthooks
— 8
Plugin
TypeScript
plugins: [pluginTs()]

TypeScript

Official

@kubb/plugin-ts · v5.0.8Updated

Generates TypeScript types and interfaces from your OpenAPI spec, the typed foundation the other Kubb plugins build on.

typescripttypesinterfaces
— 8
Plugin
Vue Query
plugins: [pluginVueQuery()]

Vue Query

Official

@kubb/plugin-vue-query · v5.3.1Updated

Generates TanStack Query composables for Vue from your OpenAPI spec, so every read and write is a typed useQuery, useInfiniteQuery, or useMutation.

vue-querytanstack-queryvue
— 8
Plugin
Zod
plugins: [pluginZod()]

Zod

Official

@kubb/plugin-zod · v5.4.6Updated

Generates Zod v4 schemas from your OpenAPI spec so you validate API responses, form input, and query params at runtime.

zodvalidationschema
— 8
@your/extension

Bring your own

Write a plugin, adapter or parser in TypeScript, ship a kubb-extension.json, and submit it to the registry.