vite-plugin-aspida
v0.1.2
Published
aspida for Vite ⚡️
Downloads
9
Readme
vite-config-aspida
aspida & openapi2aspida for Vite.
Install
yarn add -D vite-config-aspida aspida
// vite.config.ts
import ViteAspida from 'vite-plugin-aspida'
export default {
plugins: [
ViteAspida(),
],
}
input swagger file
// vite.config.ts
import ViteAspida from 'vite-plugin-aspida'
export default {
plugins: [
ViteAspida({ input: 'https://petstore.swagger.io/v2/swagger.json' }),
],
}