JSPM

  • Created
  • Published
  • Downloads 1926
  • Score
    100M100P100Q106615F
  • License MIT

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

Package Exports

  • @hey-api/vite-plugin
  • @hey-api/vite-plugin/package.json

Readme

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

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
      },
    }),
  ],
});