OpenAPI to TypeScript codegen. Production-ready SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
The @hey-api/openapi-ts is a powerful tool for generating TypeScript interfaces and SDKs from OpenAPI specifications. It supports various features like working with CLI, Node.js, and npx, supporting different OpenAPI versions, input file formats, and client options. The tool also offers a plugin ecosystem to reduce third-party boilerplate, with GitHub integration and quick start guides for easy usage.
The @hey-api/openapi-ts tool is a versatile solution for developers working with OpenAPI specifications in TypeScript projects. With support for various features and versions, the tool simplifies the process of generating interfaces and SDKs, while offering customization through plugins. Developers can easily set up the tool via CLI, Node.js, or npx, making it a valuable asset for API integration and development workflows.