Description
If no additional config is set in vite.config.js for the Vite openapi-ts plugin, no client generation is happening on npm dev.
If I move the entries from openapi-ts.config.ts into vite.config.js like this:
export default defineConfig({
plugins: [
vue(),
heyApiPlugin({
config: {
input: 'src/schema/catfact.json',
output: 'src/client',
},
}),
],
});
All is working fine with npm dev
Reproducible example or configuration
https://stackblitz.com/edit/vitejs-vite-uukpfpms?file=vite.config.js
OpenAPI specification (optional)
No response
System information (optional)
No response
Description
If no additional config is set in vite.config.js for the Vite openapi-ts plugin, no client generation is happening on
npm dev.If I move the entries from
openapi-ts.config.tsintovite.config.jslike this:All is working fine with
npm devReproducible example or configuration
https://stackblitz.com/edit/vitejs-vite-uukpfpms?file=vite.config.js
OpenAPI specification (optional)
No response
System information (optional)
No response