Skip to content

kubb-labs/plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

662 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Kubb Plugins

Official and community plugins for Kubb.

This monorepo is home to official and community plugins for Kubb, the meta framework for code generation. Point Kubb at your OpenAPI specification and it generates TypeScript types, API clients, Zod schemas, React/Vue/Svelte/Solid Query hooks, Faker mocks, MSW handlers, and more.

Want to build your own plugin? See CONTRIBUTING.md.

Official plugins

Maintained by the Kubb team. Kubb v5 OpenAPI configs use @kubb/adapter-oas as the adapter layer.

TypeScript

Package Version Description
@kubb/plugin-ts npm version TypeScript types and interfaces generation

Clients

Package Version Description
@kubb/plugin-client npm version API client generation (Axios, Fetch)

Zod

Package Version Description
@kubb/plugin-zod npm version Zod schema generation for runtime validation

Data fetching

Package Version Description
@kubb/plugin-react-query npm version TanStack Query hooks for React
@kubb/plugin-vue-query npm version TanStack Query composables for Vue

Testing and mocking

Package Version Description
@kubb/plugin-faker npm version Faker.js mock data generation
@kubb/plugin-msw npm version Mock Service Worker handlers
@kubb/plugin-cypress npm version Cypress e2e test generation

Documentation and AI

Package Version Description
@kubb/plugin-redoc npm version ReDoc API documentation generation
@kubb/plugin-mcp npm version Model Context Protocol tools for AI assistants

Community plugins

Plugins built and maintained by the community. Want to add yours? See CONTRIBUTING.md.

No community plugins listed yet. Be the first to contribute one.

Examples

Example Description
typescript Generate TypeScript types
client Generate API clients with Axios
fetch Generate API clients with Fetch
zod Generate Zod validation schemas
react-query Generate React Query hooks
vue-query Generate Vue Query composables
faker Generate Faker.js mock data
msw Generate MSW handlers
cypress Generate Cypress tests
mcp Generate MCP tools
advanced Advanced multi-plugin configuration

Contributing

We welcome contributions, and there are a few ways to get involved:

Want to contribute to an existing plugin or add a new one, official or community? See CONTRIBUTING.md for the project structure, prerequisites, local setup, and commands.

License

MIT © Stijn Van Hulle

Sponsor this project

 

Packages

 
 
 

Contributors

Languages