language-learning-app/frontend/openapi-ts.config.ts
2026-03-24 19:54:17 +00:00

14 lines
299 B
TypeScript

import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({
input: 'src/lib/openapi.json', // sign up at app.heyapi.dev
output: {
path: 'src/client'
},
plugins: [
{
name: '@hey-api/client-fetch',
runtimeConfigPath: '../hey-api.ts',
},
],
});