openapi-ts

๐ŸŒ€ OpenAPI to TypeScript codegen. Production-ready SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.

TypeScript @hey-api/[email protected] ๐Ÿ“ฆ 59.0K/mo
4.3k stars  ยท  324 forks  ยท  Updated  ยท  MIT
Install
npm install openapi-ts
View on GitHub
๐Ÿ“„ Documentation
angularaxioscodegenfetchgeneratorhttpjavascriptnextjsnodejsnuxtnuxt3openapi
Supported APIs (7)

The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay

The Analytics API provides data and information about a seller and their eBay business. The resources and methods in thi

Service for providing information to sellers about their listings being non-compliant, or at risk for becoming non-compl

Interface specification for the DVLA Vehicle Enquiry API

api.video media unknown

api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences acro

Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables fron

Version history All releases โ†—

### Patch Changes - **output**: context file is optional ([#3486](https://github.com/hey-api/openapi-ts/pull/3486)) ([`942913a`](https://github.comโ€ฆ

### Minor Changes - **BREAKING** **client**: `buildUrl()` function includes `baseUrl` from config by default ([#3491](https://github.com/hey-api/opโ€ฆ

### Patch Changes - **internal**: log symbol meta if name is falsy ([#3448](https://github.com/hey-api/openapi-ts/pull/3448)) ([`c50f7bc`](https://โ€ฆ

### Patch Changes - **plugin(@tanstack/query)**: fix: skip mutation queries for SSE endpoints ([#3470](https://github.com/hey-api/openapi-ts/pull/3โ€ฆ

### Patch Changes - **internal**: export schema walker interfaces ([#3396](https://github.com/hey-api/openapi-ts/pull/3396)) ([`ea6f386`](https://gโ€ฆ

### Minor Changes - **plugin(valibot)**: remove `enum.nodes.nullable` resolver node ([#3396](https://github.com/hey-api/openapi-ts/pull/3396)) ([`eโ€ฆ

### Patch Changes - **parser**: prefer unprefixed schema names from external files ([#3417](https://github.com/hey-api/openapi-ts/pull/3417)) ([`f3โ€ฆ

### Minor Changes - **utils**: rename `isTopLevelComponentRef` to `isTopLevelComponent` ([#3370](https://github.com/hey-api/openapi-ts/pull/3370)) โ€ฆ

Quality signals
Score
Stars4.3k
Forks324
Last updated
LicenseMIT
๐Ÿ“ฆ Package statsnpm โ†—
Monthly downloads59.0K
Used by packages7