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