Hey API logo

Vite Plugin

🚀 Vite plugin for @hey-api/openapi-ts codegen.

## Dashboard Access your projects and OpenAPI specifications in the [Hey API Platform](https://app.heyapi.dev/). ## Contributing Want to see your code in products used by millions? Start with our [Contributing](https://heyapi.dev/openapi-ts/community/contributing) guide and release your first feature. ## Documentation Please visit our [website](https://heyapi.dev) for documentation, guides, migrating, and more. ## Sponsors Help Hey API stay around for the long haul by becoming a [sponsor](https://github.com/sponsors/hey-api).

Gold

Stainless logo
Best-in-class developer interfaces for your API.
stainless.com

Opencode logo
The open source coding agent.
opencode.ai

Silver

Scalar logo
scalar.com
FastAPI logo
fastapi.tiangolo.com

Bronze

Kinde logo Cella logo
## Usage Add to `plugins` inside your Vite configuration. ```ts import { heyApiPlugin } from '@hey-api/vite-plugin'; export default defineConfig({ plugins: [ heyApiPlugin({ config: { // optional configuration instead of using the configuration file }, }), ], }); ```