fork of hey-api/openapi-ts because I need some additional things
README.md
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.

Contributing#

Want to see your code in products used by millions?

Start with our Contributing guide and release your first feature.

Documentation#

Please visit our website for documentation, guides, migrating, and more.

Sponsors#

Help Hey API stay around for the long haul by becoming a sponsor.

Gold

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

Opencode logo
The open source coding agent.
opencode.ai

Mintlify logo
The intelligent knowledge platform.
mintlify.com

Silver

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

Bronze

Kinde logo Cella logo

Usage#

Add to plugins inside your Vite configuration.

import { heyApiPlugin } from '@hey-api/vite-plugin';

export default defineConfig({
  plugins: [
    heyApiPlugin({
      config: {
        // optional configuration instead of using the configuration file
      },
    }),
  ],
});