15 lines
302 B
TypeScript
15 lines
302 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: './src/hey-api.ts',
|
||
|
|
},
|
||
|
|
],
|
||
|
|
});
|