🚀 Vite plugin for `@hey-api/openapi-ts` codegen.
npm install @hey-api/vite-plugin
🚀 Vite plugin for @hey-api/openapi-ts codegen.
Access your projects and OpenAPI specifications in the Hey API Platform.
Want to see your code in products used by millions?
Start with our Contributing guide and release your first feature.
Please visit our website for documentation, guides, migrating, and more.
Help Hey API stay around for the long haul by becoming a sponsor.
|
|
scalar.com | fastapi.tiangolo.com |
![]() |
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
},
}),
],
});
``