Movatterモバイル変換


[0]ホーム

URL:


Skip to content

At Glance

Kubb is a library and toolkit that transforms yourSwagger/OpenAPI specification into various client libraries, including:

Additionally, Kubb features a plugin system, enabling you to build custom implementations and integrate other libraries.

Features

  • Works with Node.js 20+.
  • Supports Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1.
  • Plugin Ecosystem of Kubb to extend beyond the default plugins we provide.
  • CLI support with progressbar and logs.
  • Debug tools withReact DevTools.
  • Generate barrel files(index.ts).
  • And so much more ...

Philosophy

Imagine that your backend team is writing an API in Java/Kotlin, how do you connect your frontend to their system without the need of communicating on every API change. This is not a new problem and has already been resolved with the use of a Swagger/OpenAPI specification combined with acode generator. This concept is calledcontract-first development and one of our maintainer wrote this amazing article showing casing the use cases of Kubb.

The problem is that most of them are good at onething: generating TypeScript types or generating React-Query hooks. Kubb is trying to resolve that with a plugin system where we already provide you with some plugins but also giving you the possibility to createyour own plugin.

Sponsoring

Kubb is open source and build by the community, help us building Kubb bysponsoring us.

Projects Build With Kubb

  • KOPER: a modern tech stack design for creating full-stack application powered by Kubb.

Our Community

Come and chat with us onDiscord!

We're always looking for some contributions.

Contributors

The avatar of contributor named as Stijn Van Hulle Stijn Van Hulle
The avatar of contributor named as Maarten Knijnenberg Maarten Knijnenberg

Changelog

99b3b3f-feat: MCP plugin + documentation
0e6dfc6-docs: Update external link to the github page of KOPER. (#1344)
e6e82c1-docs: add generators
09934fb-chore: update docs
e55fb33-chore: update docs
7f30045-docs: better type/default/grouping
6436c1e-docs: update docs with one main docs page

[8]ページ先頭

©2009-2025 Movatter.jp