[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73645":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":16,"starSnapshotCount":16,"syncStatus":47,"lastSyncTime":48,"discoverSource":49},73645,"openapi-ts","hey-api\u002Fopenapi-ts","hey-api","🌀 OpenAPI to TypeScript codegen. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.","https:\u002F\u002Fheyapi.dev",null,"TypeScript",4933,380,10,399,0,26,55,293,78,29.74,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"angular","axios","codegen","fetch","generator","http","javascript","nextjs","nodejs","nuxt","nuxt3","openapi","openapi3","openapi31","rest","swagger","typescript","2026-06-12 02:03:16","\u003Cdiv align=\"center\">\n  \u003Cimg alt=\"Hey API presents openapi-ts\" height=\"214\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002F.gen\u002Fopenapi-ts-hero-640w.png\" width=\"438\">\n  \u003Ch1>\u003Cb>OpenAPI TypeScript\u003C\u002Fb>\u003C\u002Fh1>\n  \u003Cp>\u003Cem>“OpenAPI codegen that just works.”\u003C\u002Fem>\u003Cbr\u002F>\u003Csub>— Guillermo Rauch, CEO of Vercel\u003C\u002Fsub>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.devtrends.dev\u002Ftrends?c=v1.kZIBIg\">\u003Cimg src=\"https:\u002F\u002Fapi.devtrends.dev\u002Fbadge\u002Fnpm\u002F%40hey-api%2Fopenapi-ts?period=month&style=flat&view=value\" alt=\"DevTrends badge for @hey-api\u002Fopenapi-ts\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.devtrends.dev\u002Ftrends?c=v1.kZIBIg&v=change\">\u003Cimg src=\"https:\u002F\u002Fapi.devtrends.dev\u002Fbadge\u002Fnpm\u002F%40hey-api%2Fopenapi-ts?period=year&style=flat&view=change\" alt=\"DevTrends badge for @hey-api\u002Fopenapi-ts\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Factions?query=branch%3Amain\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg?event=push&branch=main\" alt=\"CI status\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fhey-api\u002Fopenapi-ts?style=flat&logo=github&label=GitHub&color=54C82D\" alt=\"GitHub stars\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fblob\u002Fmain\u002FLICENSE.md\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fhey-api\u002Fopenapi-ts\" alt=\"MIT License\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fstackblitz.com\u002Fedit\u002Fhey-api-example?file=openapi-ts.config.ts,src%2Fclient%2Fschemas.gen.ts,src%2Fclient%2Fsdk.gen.ts,src%2Fclient%2Ftypes.gen.ts\">Demo\u003C\u002Fa>\n  \u003Cspan>&nbsp;•&nbsp;\u003C\u002Fspan>\n  \u003Ca href=\"https:\u002F\u002Fheyapi.dev\">Manual\u003C\u002Fa>\n  \u003Cspan>&nbsp;•&nbsp;\u003C\u002Fspan>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fissues\">Issues\u003C\u002Fa>\n  \u003Cspan>&nbsp;•&nbsp;\u003C\u002Fspan>\n  \u003Ca href=\"https:\u002F\u002Fheyapi.dev\u002Fdocs\u002Fopenapi\u002Ftypescript\u002Fcommunity\u002Fcontributing\">Contribute\u003C\u002Fa>\n\u003C\u002Fp>\n\n## About\n\nThe OpenAPI to TypeScript code generator used by Vercel, OpenCode, and PayPal.\n\nGenerate production-grade SDKs, Zod schemas, TanStack Query hooks, or choose from 20+ other plugins.\n\nPart of the Hey API ecosystem.\n\n## Features\n\n- production-grade code that compiles\n- runs in any Node.js 22+ environment\n- accepts any OpenAPI specification\n- core plugins for SDKs, types, and schemas\n- HTTP clients for Fetch API, Angular, Axios, Next.js, Nuxt, and more\n- 20+ plugins to reduce third-party boilerplate\n- highly customizable via plugins\n- [sync with Hey API Registry](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fintegrations) for spec management\n\n\u003C!-- template-contributing-start -->\n\n## Contributing\n\nWant to see your code in products used by millions?\n\nStart with our [Contributing](https:\u002F\u002Fheyapi.dev\u002Fdocs\u002Fopenapi\u002Ftypescript\u002Fcommunity\u002Fcontributing) guide and release your first feature.\n\n\u003C!-- template-contributing-end -->\n\n\u003C!-- template-sponsors-start -->\n\n## Sponsors\n\nPartners behind the future of API tooling. [Become a sponsor](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fhey-api).\n\n\u003Ch3 align=\"center\">Gold\u003C\u002Fh3>\n\n\u003Ctable align=\"center\" style=\"justify-content: center;align-items: center;display: flex;\">\n  \u003Ctbody>\n    \u003Ctr>\n      \u003Ctd align=\"center\" width=\"336px\">\n        \u003Cp>\u003C\u002Fp>\n        \u003Cp>\n          \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FpkEZyc\" target=\"_blank\">\n            \u003Cpicture height=\"50px\">\n              \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002F.gen\u002Fstainless-logo-wordmark-480w.jpeg\">\n              \u003Cimg alt=\"Stainless logo\" height=\"50px\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002F.gen\u002Fstainless-logo-wordmark-480w.jpeg\">\n            \u003C\u002Fpicture>\n          \u003C\u002Fa>\n          \u003Cbr\u002F>\n          Best-in-class developer interfaces for your API.\n          \u003Cbr\u002F>\n          \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FpkEZyc\" style=\"text-decoration:none;\" target=\"_blank\">\n            stainless.com\n          \u003C\u002Fa>\n        \u003C\u002Fp>\n        \u003Cp>\u003C\u002Fp>\n      \u003C\u002Ftd>\n      \u003Ctd align=\"center\" width=\"336px\">\n        \u003Cp>\u003C\u002Fp>\n        \u003Cp>\n          \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FQM9Q2N\" target=\"_blank\">\n            \u003Cpicture height=\"50px\">\n              \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fopencode\u002Flogo-light.svg\">\n              \u003Cimg alt=\"Opencode logo\" height=\"50px\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fopencode\u002Flogo-dark.svg\">\n            \u003C\u002Fpicture>\n          \u003C\u002Fa>\n          \u003Cbr\u002F>\n          The open source coding agent.\n          \u003Cbr\u002F>\n          \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FQM9Q2N\" style=\"text-decoration:none;\" target=\"_blank\">\n            opencode.ai\n          \u003C\u002Fa>\n        \u003C\u002Fp>\n        \u003Cp>\u003C\u002Fp>\n      \u003C\u002Ftd>\n    \u003C\u002Ftr>\n  \u003C\u002Ftbody>\n\u003C\u002Ftable>\n\n\u003Ch3 align=\"center\">Silver\u003C\u002Fh3>\n\n\u003Ctable align=\"center\" style=\"justify-content: center;align-items: center;display: flex;\">\n  \u003Ctbody>\n    \u003Ctr>\n      \u003Ctd align=\"center\" width=\"172px\">\n        \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FskQUVd\" target=\"_blank\">\n          \u003Cpicture height=\"40px\">\n            \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fscalar\u002Flogo-light.svg\">\n            \u003Cimg alt=\"Scalar logo\" height=\"40px\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fscalar\u002Flogo-dark.svg\">\n          \u003C\u002Fpicture>\n        \u003C\u002Fa>\n        \u003Cbr\u002F>\n        \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FskQUVd\" style=\"text-decoration:none;\" target=\"_blank\">\n          scalar.com\n        \u003C\u002Fa>\n      \u003C\u002Ftd>\n      \u003Ctd align=\"center\" width=\"172px\">\n        \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FDr9GuW\" target=\"_blank\">\n          \u003Cpicture height=\"40px\">\n            \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Ffastapi\u002Flogo-light.svg\">\n            \u003Cimg alt=\"FastAPI logo\" height=\"40px\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Ffastapi\u002Flogo-dark.svg\">\n          \u003C\u002Fpicture>\n        \u003C\u002Fa>\n        \u003Cbr\u002F>\n        \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FDr9GuW\" style=\"text-decoration:none;\" target=\"_blank\">\n          fastapi.tiangolo.com\n        \u003C\u002Fa>\n      \u003C\u002Ftd>\n    \u003C\u002Ftr>\n  \u003C\u002Ftbody>\n\u003C\u002Ftable>\n\n\u003Ch3 align=\"center\">Bronze\u003C\u002Fh3>\n\n\u003Ctable align=\"center\" style=\"justify-content: center;align-items: center;display: flex;\">\n  \u003Ctbody>\n    \u003Ctr>\n      \u003Ctd align=\"center\" width=\"136px\">\n        \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FYpaKsX\" target=\"_blank\">\n          \u003Cpicture height=\"34px\">\n            \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002F.gen\u002Fkinde-logo-wordmark-dark-480w.webp\">\n            \u003Cimg alt=\"Kinde logo\" height=\"34px\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002F.gen\u002Fkinde-logo-wordmark-480w.jpeg\">\n          \u003C\u002Fpicture>\n        \u003C\u002Fa>\n      \u003C\u002Ftd>\n      \u003Ctd align=\"center\" width=\"136px\">\n        \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FKkqSaw\" target=\"_blank\">\n          \u003Cpicture height=\"34px\">\n            \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fcella\u002Flogo-light.svg\">\n            \u003Cimg alt=\"Cella logo\" height=\"34px\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fcella\u002Flogo-dark.svg\">\n          \u003C\u002Fpicture>\n        \u003C\u002Fa>\n      \u003C\u002Ftd>\n      \u003Ctd align=\"center\" width=\"136px\">\n        \u003Ca href=\"https:\u002F\u002Fkutt.to\u002FHW4GYR\" target=\"_blank\">\n          \u003Cpicture height=\"34px\">\n            \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fphoton\u002Flogo-light.svg\">\n            \u003Cimg alt=\"Photon logo\" height=\"34px\" src=\"https:\u002F\u002Fheyapi.dev\u002Fassets\u002Fphoton\u002Flogo-dark.svg\">\n          \u003C\u002Fpicture>\n        \u003C\u002Fa>\n      \u003C\u002Ftd>\n    \u003C\u002Ftr>\n  \u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003C!-- template-sponsors-end -->\n\n## Quick Start\n\nThe fastest way to use `@hey-api\u002Fopenapi-ts` is via npx\n\n```sh\nnpx @hey-api\u002Fopenapi-ts -i hey-api\u002Fbackend -o src\u002Fclient\n```\n\nCongratulations on creating your first client! 🎉 You can learn more about the generated files on the [Output](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Foutput) page.\n\n## Installation\n\nYou can download `@hey-api\u002Fopenapi-ts` from npm using your favorite package manager.\n\n#### npm\n\n```sh\nnpm install @hey-api\u002Fopenapi-ts -D -E\n```\n\n#### pnpm\n\n```sh\npnpm add @hey-api\u002Fopenapi-ts -D -E\n```\n\n#### yarn\n\n```sh\nyarn add @hey-api\u002Fopenapi-ts -D -E\n```\n\n#### bun\n\n```sh\nbun add @hey-api\u002Fopenapi-ts -D\n```\n\n### Versioning\n\nThis package is in [initial development](https:\u002F\u002Fsemver.org\u002F#spec-item-4). Please pin an exact version so you can safely upgrade when you're ready.\n\nWe publish [migration notes](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fmigrating) for every breaking release. You might not be impacted by a breaking change if you don't use the affected features.\n\n## Usage\n\n### CLI\n\nMost people run `@hey-api\u002Fopenapi-ts` via CLI. To do that, add a script to your `package.json` file which will make `openapi-ts` executable through script.\n\n```json\n\"scripts\": {\n  \"openapi-ts\": \"openapi-ts\"\n}\n```\n\nThe above script can be executed by running `npm run openapi-ts` or equivalent command in other package managers. Next, we will create a [configuration](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fconfiguration) file and move our options from Quick Start to it.\n\n### Node.js\n\nYou can also generate output programmatically by calling `createClient()` in a JavaScript\u002FTypeScript file.\n\n#### `script.ts`\n\n```ts\nimport { createClient } from '@hey-api\u002Fopenapi-ts';\n\ncreateClient({\n  input: 'hey-api\u002Fbackend', \u002F\u002F sign up at app.heyapi.dev\n  output: 'src\u002Fclient',\n});\n```\n\n### Vite\n\nIf you're using [Vite](https:\u002F\u002Fvite.dev), you can integrate `@hey-api\u002Fopenapi-ts` directly into your build pipeline with `@hey-api\u002Fvite-plugin`. Install it alongside the main package:\n\n#### npm\n\n```sh\nnpm install @hey-api\u002Fvite-plugin -D -E\n```\n\n#### pnpm\n\n```sh\npnpm add @hey-api\u002Fvite-plugin -D -E\n```\n\n#### yarn\n\n```sh\nyarn add @hey-api\u002Fvite-plugin -D -E\n```\n\n#### bun\n\n```sh\nbun add @hey-api\u002Fvite-plugin -D\n```\n\nThen add the plugin to your Vite configuration:\n\n#### `vite.config.ts`\n\n```ts\nimport { heyApiPlugin } from '@hey-api\u002Fvite-plugin';\nimport { defineConfig } from 'vite';\n\nexport default defineConfig({\n  plugins: [\n    heyApiPlugin({\n      config: {\n        input: 'hey-api\u002Fbackend', \u002F\u002F sign up at app.heyapi.dev\n        output: 'src\u002Fclient',\n      },\n    }),\n  ],\n});\n```\n\nSee the [Vite](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fconfiguration\u002Fvite) page for full configuration options.\n\n## Configuration\n\n`@hey-api\u002Fopenapi-ts` supports loading configuration from any file inside your project root folder supported by [jiti loader](https:\u002F\u002Fgithub.com\u002Funjs\u002Fc12?tab=readme-ov-file#-features). Below are the most common file formats.\n\n#### `openapi-ts.config.ts`\n\n```js\nimport { defineConfig } from '@hey-api\u002Fopenapi-ts';\n\nexport default defineConfig({\n  input: 'hey-api\u002Fbackend', \u002F\u002F sign up at app.heyapi.dev\n  output: 'src\u002Fclient',\n});\n```\n\n#### `openapi-ts.config.cjs`\n\n```js\n\u002F** @type {import('@hey-api\u002Fopenapi-ts').UserConfig} *\u002F\nmodule.exports = {\n  input: 'hey-api\u002Fbackend', \u002F\u002F sign up at app.heyapi.dev\n  output: 'src\u002Fclient',\n};\n```\n\n#### `openapi-ts.config.mjs`\n\n```js\n\u002F** @type {import('@hey-api\u002Fopenapi-ts').UserConfig} *\u002F\nexport default {\n  input: 'hey-api\u002Fbackend', \u002F\u002F sign up at app.heyapi.dev\n  output: 'src\u002Fclient',\n};\n```\n\nAlternatively, you can use `openapi-ts.config.js` and configure the export statement depending on your project setup.\n\n### Input\n\nYou must set the input so we can load your OpenAPI specification. It can be a path or URL, object containing a path or URL, or an object representing an OpenAPI specification. Hey API supports all valid OpenAPI versions and file formats.\n\n> If you use an HTTPS URL with a self-signed certificate in development, you will need to set [`NODE_TLS_REJECT_UNAUTHORIZED=0`](https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fissues\u002F276#issuecomment-2043143501) in your environment.\n\n### Output\n\nYou must set the output so we know where to generate your files. It can be a path to the destination folder or an object containing the destination folder path and optional settings.\n\n> You should treat the output folder as a dependency. Do not directly modify its contents as your changes might be erased when you run `@hey-api\u002Fopenapi-ts` again.\n\n## Parser\n\nWe parse your input before making it available to plugins. While configuring the parser is optional, it's the perfect place to modify or validate your input if needed.\n\n## Plugins\n\nPlugins are responsible for generating artifacts from your input. By default, Hey API will generate TypeScript interfaces and SDK from your OpenAPI specification. You can add, remove, or customize any of the plugins. In fact, we highly encourage you to do so!\n\n### Client\n\nClients are responsible for sending the actual HTTP requests. We default to Fetch client if you're generating SDKs, but you can choose a different option from the available clients.\n\n### Available Clients\n\n- [`@hey-api\u002Fclient-fetch`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Ffetch)\n- [`@hey-api\u002Fclient-angular`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Fangular)\n- [`@hey-api\u002Fclient-axios`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Faxios)\n- [`@hey-api\u002Fclient-ky`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Fky)\n- [`@hey-api\u002Fclient-next`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Fnext-js)\n- [`@hey-api\u002Fclient-nuxt`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Fnuxt)\n- [`@hey-api\u002Fclient-ofetch`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Fofetch)\n\n### Proposed Clients (Vote to Prioritize)\n\nThe following clients are roadmap proposals and are not started yet. You can help us prioritize them by voting on [GitHub](https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fissues?q=state%3Aopen%20label%3A%22vote%20%F0%9F%93%A9%22).\n\n- [`@hey-api\u002Fclient-effect`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Feffect)\n\nDon't see your client? [Build your own](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fclients\u002Fcustom) or let us know your interest by [opening an issue](https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fissues).\n\n### Available Plugins\n\nThese plugins help reduce boilerplate associated with third-party dependencies. Hey API natively supports the most popular packages. Please open an issue on [GitHub](https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fissues) if you'd like us to support your favorite package.\n\n- [`@angular\u002Fcommon`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fangular)\n- [`@hey-api\u002Fschemas`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Foutput\u002Fjson-schema)\n- [`@hey-api\u002Fsdk`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Foutput\u002Fsdk)\n- [`@hey-api\u002Ftransformers`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Ftransformers)\n- [`@hey-api\u002Ftypescript`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Foutput\u002Ftypescript)\n- [`@pinia\u002Fcolada`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fpinia-colada)\n- [`@tanstack\u002Fangular-query-experimental`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ftanstack-query)\n- [`@tanstack\u002Fpreact-query`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ftanstack-query)\n- [`@tanstack\u002Freact-query`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ftanstack-query)\n- [`@tanstack\u002Fsolid-query`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ftanstack-query)\n- [`@tanstack\u002Fsvelte-query`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ftanstack-query)\n- [`@tanstack\u002Fvue-query`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ftanstack-query)\n- [`fastify`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ffastify)\n- [`orpc`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Forpc)\n- [`nestjs`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fnest)\n- [`valibot`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fvalibot)\n- [`zod`](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fzod)\n\n### Proposed Plugins (Vote to Prioritize)\n\nThe following plugins are roadmap proposals and are not started yet. You can help us prioritize them by voting on [GitHub](https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fissues?q=state%3Aopen%20label%3A%22vote%20%F0%9F%93%A9%22).\n\n- [Adonis](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fadonis)\n- [Ajv](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fajv)\n- [Arktype](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Farktype)\n- [Chance](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fchance)\n- [Elysia](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Felysia)\n- [Express](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fexpress)\n- [Faker](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ffaker)\n- [Falso](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ffalso)\n- [Hono](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fhono)\n- [Joi](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fjoi)\n- [Koa](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fkoa)\n- [MSW](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fmsw)\n- [Nock](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fnock)\n- [Superstruct](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fsuperstruct)\n- [Supertest](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fsupertest)\n- [SWR](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fswr)\n- [TypeBox](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Ftypebox)\n- [Yup](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fyup)\n- [Zustand](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fzustand)\n\nDon't see your plugin? [Build your own](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fplugins\u002Fcustom) or let us know your interest by [opening an issue](https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fissues).\n\n## Migrating\n\nYou can learn more on the [Migrating](https:\u002F\u002Fheyapi.dev\u002Fopenapi-ts\u002Fmigrating) page.\n\n\u003C!-- template-license-start -->\n\n## License\n\nReleased under the [MIT License](https:\u002F\u002Fgithub.com\u002Fhey-api\u002Fopenapi-ts\u002Fblob\u002Fmain\u002FLICENSE.md).\n\n\u003C!-- template-license-end -->\n","OpenAPI to TypeScript 是一个将 OpenAPI 规范转换为 TypeScript 代码的生成器，被 Vercel、OpenCode 和 PayPal 等公司使用。其核心功能包括生成生产级 SDK、Zod 数据验证模式、TanStack Query 钩子以及提供超过 20 种插件支持。该项目兼容任何符合 OpenAPI 标准的 API 文档，并能运行在 Node.js 22+ 的环境中。它提供了多种 HTTP 客户端选项如 Fetch API、Angular、Axios、Next.js 和 Nuxt 等，极大地方便了开发者集成和管理 RESTful API。此外，通过丰富的插件系统，用户可以轻松定制生成代码的行为，适用于需要高效开发和维护基于 OpenAPI 的前端应用或服务的各种场景。",2,"2026-06-11 03:46:31","high_star"]