···30303131## Features
32323333-- works with CLI, Node.js 18+, or npx
3434-- supports OpenAPI 2.0, 3.0, and 3.1 specifications
3535-- supports JSON and YAML input files
3636-- generates TypeScript interfaces and SDKs
3737-- Fetch API, Axios, Nuxt, Angular, Node.js, and XHR clients available
3333+- runs in CLI, Node.js 18+, or npx
3434+- works with OpenAPI 2.0, 3.0, and 3.1
3535+- customizable types and SDKs
3636+- clients for your runtime (Fetch API, Axios, Next.js, Nuxt, etc.)
3837- plugin ecosystem to reduce third-party boilerplate
3939-- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
3838+- custom plugins and custom clients
3939+- [integration](https://heyapi.dev/openapi-ts/integrations) with Hey API platform
4040+4141+## Dashboard
40424141-## Platform
4343+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
42444343-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
4545+[Sign In](https://app.heyapi.dev) to Hey API platform.
44464547## Sponsors
4648···177179178180Clients are responsible for sending the actual HTTP requests. Using clients is not required, but you must add a client to `plugins` if you're generating SDKs (enabled by default).
179181180180-You can learn more on the [Clients](https://heyapi.dev/openapi-ts/clients) page.
182182+### Native Clients
183183+184184+- [`@hey-api/client-fetch](https://heyapi.dev/openapi-ts/clients/fetch)
185185+- [`@hey-api/client-axios](https://heyapi.dev/openapi-ts/clients/axios)
186186+- [`@hey-api/client-next](https://heyapi.dev/openapi-ts/clients/next-js)
187187+- [`@hey-api/client-nuxt](https://heyapi.dev/openapi-ts/clients/nuxt)
188188+189189+Don't see your client? [Build your own](https://heyapi.dev/openapi-ts/clients/custom) or let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).
181190182191## Plugins
183192···221230- [Valibot](https://heyapi.dev/openapi-ts/plugins/valibot)
222231- [Yup](https://heyapi.dev/openapi-ts/plugins/yup)
223232- [Zustand](https://heyapi.dev/openapi-ts/plugins/zustand)
233233+234234+Don't see your plugin? [Build your own](https://heyapi.dev/openapi-ts/plugins/custom) or let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).
224235225236## Migration Guides
226237
···44444545## Hall of Fame
46464747-These are the people with significant contributions to Hey API. A special thank you goes to [Ferdi Koomen](https://madebyferdi.com/) for allowing us to use the original source code from OpenAPI TypeScript Codegen. None of this would've been possible without you!
4747+These are the people with significant contributions to Hey API. A special thank you goes to [Ferdi Koomen](https://madebyferdi.com) for allowing us to use the original source code from OpenAPI TypeScript Codegen. None of this would've been possible without you!
48484949<VPTeamMembers size="small" :members="hallOfFame" />
5050
+1-1
docs/contributing.md
···991010## Prerequisites
11111212-You should have a working knowledge of [git](https://git-scm.com/), [node](https://nodejs.org/en), and [pnpm](https://pnpm.io/).
1212+You should have a working knowledge of [git](https://git-scm.com), [node](https://nodejs.org/en), and [pnpm](https://pnpm.io).
13131414## Guidelines
1515
···3131- [Nuxt](/openapi-ts/clients/nuxt)
3232- [Legacy](/openapi-ts/clients/legacy)
33333434-Don't see your client? Let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).
3434+Don't see your client? [Build your own](/openapi-ts/clients/custom) or let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).
35353636<!--@include: ../examples.md-->
3737<!--@include: ../sponsors.md-->
+1-1
docs/openapi-ts/clients/axios.md
···15151616### About
17171818-[Axios](https://axios-http.com/) is a simple promise based HTTP client for the browser and Node.js. Axios provides a simple to use library in a small package with a very extensible interface.
1818+[Axios](https://axios-http.com) is a simple promise based HTTP client for the browser and Node.js. Axios provides a simple to use library in a small package with a very extensible interface.
19192020### Demo
2121
···11111212### About
13131414-[Next.js](https://nextjs.org/) is the React framework for the web. Used by some of the world's largest companies, Next.js enables you to create high-quality web applications with the power of React components.
1414+[Next.js](https://nextjs.org) is the React framework for the web. Used by some of the world's largest companies, Next.js enables you to create high-quality web applications with the power of React components.
15151616<!-- <button class="buttonLink" @click="(event) => embedProject('hey-api-client-next-example')(event)">
1717Launch demo
+5-1
docs/openapi-ts/clients/nuxt.md
···11111212### About
13131414-[Nuxt](https://nuxt.com/) is an open source framework that makes web development intuitive and powerful.
1414+[Nuxt](https://nuxt.com) is an open source framework that makes web development intuitive and powerful.
1515+1616+::: tip
1717+You might be interested in the [Nuxt module](https://www.npmjs.com/package/@hey-api/nuxt) instead. It offers all the features mentioned in this guide in a more familiar way.
1818+:::
15191620<!-- <button class="buttonLink" @click="(event) => embedProject('hey-api-client-fetch-example')(event)">
1721Launch demo
+6-6
docs/openapi-ts/get-started.md
···23232424## Features
25252626-- works with CLI, Node.js 18+, or npx
2727-- supports OpenAPI 2.0, 3.0, and 3.1 specifications
2828-- supports JSON and YAML input files
2929-- generates TypeScript interfaces and SDKs
3030-- Fetch API, Axios, Nuxt, Angular, Node.js, and XHR clients available
2626+- runs in CLI, Node.js 18+, or npx
2727+- works with OpenAPI 2.0, 3.0, and 3.1
2828+- customizable types and SDKs
2929+- clients for your runtime (Fetch API, Axios, Next.js, Nuxt, etc.)
3130- plugin ecosystem to reduce third-party boilerplate
3232-- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
3131+- custom plugins and custom clients
3232+- [integration](/openapi-ts/integrations) with Hey API Platform
33333434## Quick Start
3535
+2-2
docs/openapi-ts/integrations.md
···24242525### Prerequisites
26262727-1. Create a **free account** with [Hey API](https://app.heyapi.dev/).
2727+1. Create a **free account** with [Hey API](https://app.heyapi.dev).
28281. Create a new **organization** and **project** for your API provider. We recommend your naming matches your GitHub structure as it will be referenced by API clients. For example, we are using **hey-api/backend** for the platform.
29291. Inside your project, go to _Integrations_ > _APIs_ and generate an **API key**. Keep this value secret, it will be used to upload files.
3030···78787979#### `API_KEY`
80808181-This is the project API key you obtained from [Hey API](https://app.heyapi.dev/).
8181+This is the project API key you obtained from [Hey API](https://app.heyapi.dev).
82828383::: warning
8484Personal API keys can't be used to upload specifications.
+2
docs/openapi-ts/plugins.md
···5151- [Yup](/openapi-ts/plugins/yup) <span data-soon>Soon</span>
5252- [Zustand](/openapi-ts/plugins/zustand) <span data-soon>Soon</span>
53535454+Don't see your plugin? [Build your own](/openapi-ts/plugins/custom) or let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).
5555+5456## Community
55575658Featured community plugins.
+1-1
docs/openapi-ts/plugins/ajv.md
···11111212### About
13131414-[Ajv](https://ajv.js.org/) is the fastest JSON validator for Node.js and browser.
1414+[Ajv](https://ajv.js.org) is the fastest JSON validator for Node.js and browser.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/arktype.md
···11111212### About
13131414-[Arktype](https://arktype.io/) is a TypeScript's 1:1 validator, optimized from editor to runtime.
1414+[Arktype](https://arktype.io) is a TypeScript's 1:1 validator, optimized from editor to runtime.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/express.md
···11111212### About
13131414-[Express](https://expressjs.com/) is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
1414+[Express](https://expressjs.com) is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/faker.md
···11111212### About
13131414-[Faker](https://fakerjs.dev/) is a popular library that generates fake (but reasonable) data that can be used for things such as unit testing, performance testing, building demos, and working without a completed backend.
1414+[Faker](https://fakerjs.dev) is a popular library that generates fake (but reasonable) data that can be used for things such as unit testing, performance testing, building demos, and working without a completed backend.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/fastify.md
···11111212### About
13131414-[Fastify](https://fastify.dev/) is a fast and low overhead web framework for Node.js.
1414+[Fastify](https://fastify.dev) is a fast and low overhead web framework for Node.js.
15151616<!-- ### Demo
1717
+1-1
docs/openapi-ts/plugins/hono.md
···11111212### About
13131414-[Hono](https://hono.dev/) is a small, simple, and ultrafast web framework built on Web Standards. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda, Lambda@Edge, and Node.js.
1414+[Hono](https://hono.dev) is a small, simple, and ultrafast web framework built on Web Standards. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda, Lambda@Edge, and Node.js.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/joi.md
···11111212### About
13131414-[Joi](https://joi.dev/) is the most powerful schema description language and data validator for JavaScript.
1414+[Joi](https://joi.dev) is the most powerful schema description language and data validator for JavaScript.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/koa.md
···11111212### About
13131414-[Koa](https://koajs.com/) is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.
1414+[Koa](https://koajs.com) is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/msw.md
···11111212### About
13131414-[MSW](https://mswjs.io/) is an API mocking library that allows you to write client-agnostic mocks and reuse them across any frameworks, tools, and environments.
1414+[MSW](https://mswjs.io) is an API mocking library that allows you to write client-agnostic mocks and reuse them across any frameworks, tools, and environments.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/nest.md
···11111212### About
13131414-[Nest](https://nestjs.com/) is a progressive Node.js framework for building efficient, reliable and scalable server-side applications.
1414+[Nest](https://nestjs.com) is a progressive Node.js framework for building efficient, reliable and scalable server-side applications.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/pinia-colada.md
···11111212### About
13131414-[Pinia Colada](https://pinia-colada.esm.dev/) is the data fetching layer for Pinia.
1414+[Pinia Colada](https://pinia-colada.esm.dev) is the data fetching layer for Pinia.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/superstruct.md
···11111212### About
13131414-[Superstruct](https://docs.superstructjs.org/) makes it easy to define interfaces and then validate JavaScript data against them.
1414+[Superstruct](https://docs.superstructjs.org) makes it easy to define interfaces and then validate JavaScript data against them.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/swr.md
···11111212### About
13131414-[SWR](https://swr.vercel.app/) is a strategy to first return the data from cache (stale), then send the fetch request (revalidate), and finally come with the up-to-date data.
1414+[SWR](https://swr.vercel.app) is a strategy to first return the data from cache (stale), then send the fetch request (revalidate), and finally come with the up-to-date data.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/valibot.md
···11111212### About
13131414-[Valibot](https://valibot.dev/) is the open source schema library for TypeScript with bundle size, type safety and developer experience in mind.
1414+[Valibot](https://valibot.dev) is the open source schema library for TypeScript with bundle size, type safety and developer experience in mind.
15151616<!--@include: ../../sponsors.md-->
+1-1
docs/openapi-ts/plugins/zod.md
···11111212### About
13131414-[Zod](https://zod.dev/) is a TypeScript-first schema validation library with static type inference.
1414+[Zod](https://zod.dev) is a TypeScript-first schema validation library with static type inference.
15151616<!-- ### Demo
1717
+1-1
docs/openapi-ts/plugins/zustand.md
···11111212### About
13131414-[Zustand](https://zustand-demo.pmnd.rs/) is a small, fast, and scalable bearbones state management solution.
1414+[Zustand](https://zustand-demo.pmnd.rs) is a small, fast, and scalable bearbones state management solution.
15151616<!--@include: ../../sponsors.md-->
+4-4
examples/openapi-ts-tanstack-vue-query/README.md
···4455## Recommended IDE Setup
6677-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
77+[VSCode](https://code.visualstudio.com) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8899## Type Support for `.vue` Imports in TS
1010···12121313## Customize configuration
14141515-See [Vite Configuration Reference](https://vitejs.dev/config/).
1515+See [Vite Configuration Reference](https://vitejs.dev/config).
16161717## Project Setup
1818···3232pnpm build
3333```
34343535-### Run Unit Tests with [Vitest](https://vitest.dev/)
3535+### Run Unit Tests with [Vitest](https://vitest.dev)
36363737```sh
3838pnpm test:unit
3939```
40404141-### Lint with [ESLint](https://eslint.org/)
4141+### Lint with [ESLint](https://eslint.org)
42424343```sh
4444pnpm lint
+5-3
packages/client-axios/README.md
···1717- support bundling inside the generated output
1818- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
19192020-## Platform
2020+## Dashboard
21212222-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
2222+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
2323+2424+[Sign In](https://app.heyapi.dev) to Hey API platform.
23252426## Documentation
25272626-Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.
2828+Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more.
27292830## Sponsors
2931
+5-3
packages/client-fetch/README.md
···1717- support bundling inside the generated output
1818- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
19192020-## Platform
2020+## Dashboard
21212222-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
2222+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
2323+2424+[Sign In](https://app.heyapi.dev) to Hey API platform.
23252426## Documentation
25272626-Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.
2828+Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more.
27292830## Sponsors
2931
+5-3
packages/client-next/README.md
···1818- support bundling inside the generated output
1919- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
20202121-## Platform
2121+## Dashboard
22222323-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
2323+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
2424+2525+[Sign In](https://app.heyapi.dev) to Hey API platform.
24262527## Documentation
26282727-Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.
2929+Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more.
28302931## Sponsors
3032
+5-3
packages/client-nuxt/README.md
···1818- support bundling inside the generated output
1919- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
20202121-## Platform
2121+## Dashboard
22222323-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
2323+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
2424+2525+[Sign In](https://app.heyapi.dev) to Hey API platform.
24262527## Documentation
26282727-Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.
2929+Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more.
28302931## Sponsors
3032
+5-3
packages/nuxt/README.md
···1818- support bundling inside the generated output
1919- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
20202121-## Platform
2121+## Dashboard
22222323-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
2323+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
2424+2525+[Sign In](https://app.heyapi.dev) to Hey API platform.
24262527## Documentation
26282727-Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.
2929+Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more.
28302931## Sponsors
3032
+20-9
packages/openapi-ts/README.md
···30303131## Features
32323333-- works with CLI, Node.js 18+, or npx
3434-- supports OpenAPI 2.0, 3.0, and 3.1 specifications
3535-- supports JSON and YAML input files
3636-- generates TypeScript interfaces and SDKs
3737-- Fetch API, Axios, Nuxt, Angular, Node.js, and XHR clients available
3333+- runs in CLI, Node.js 18+, or npx
3434+- works with OpenAPI 2.0, 3.0, and 3.1
3535+- customizable types and SDKs
3636+- clients for your runtime (Fetch API, Axios, Next.js, Nuxt, etc.)
3837- plugin ecosystem to reduce third-party boilerplate
3939-- [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds
3838+- custom plugins and custom clients
3939+- [integration](https://heyapi.dev/openapi-ts/integrations) with Hey API platform
4040+4141+## Dashboard
40424141-## Platform
4343+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
42444343-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
4545+[Sign In](https://app.heyapi.dev) to Hey API platform.
44464547## Sponsors
4648···177179178180Clients are responsible for sending the actual HTTP requests. Using clients is not required, but you must add a client to `plugins` if you're generating SDKs (enabled by default).
179181180180-You can learn more on the [Clients](https://heyapi.dev/openapi-ts/clients) page.
182182+### Native Clients
183183+184184+- [`@hey-api/client-fetch](https://heyapi.dev/openapi-ts/clients/fetch)
185185+- [`@hey-api/client-axios](https://heyapi.dev/openapi-ts/clients/axios)
186186+- [`@hey-api/client-next](https://heyapi.dev/openapi-ts/clients/next-js)
187187+- [`@hey-api/client-nuxt](https://heyapi.dev/openapi-ts/clients/nuxt)
188188+189189+Don't see your client? [Build your own](https://heyapi.dev/openapi-ts/clients/custom) or let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).
181190182191## Plugins
183192···221230- [Valibot](https://heyapi.dev/openapi-ts/plugins/valibot)
222231- [Yup](https://heyapi.dev/openapi-ts/plugins/yup)
223232- [Zustand](https://heyapi.dev/openapi-ts/plugins/zustand)
233233+234234+Don't see your plugin? [Build your own](https://heyapi.dev/openapi-ts/plugins/custom) or let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).
224235225236## Migration Guides
226237
+5-3
packages/vite-plugin/README.md
···44 <p align="center">🚀 Vite plugin for `@hey-api/openapi-ts` codegen.</p>
55</div>
6677-## Platform
77+## Dashboard
8899-Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations).
99+Hey API is an ecosystem of products helping you build better APIs. Superpower your codegen and APIs with our platform.
1010+1111+[Sign In](https://app.heyapi.dev) to Hey API platform.
10121113## Documentation
12141313-Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.
1515+Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more.
14161517## Sponsors
1618