@botpress/webchat-client
Version:
9 lines (7 loc) • 313 B
text/typescript
import { defineConfig } from '@hey-api/openapi-ts'
import openapi from '@bpinternal/webchat-http-client/src/gen/openapi.json'
export default defineConfig({
input: openapi,
output: 'src/gen/client',
plugins: [{ name: '@hey-api/client-fetch', bundle: true, runtimeConfigPath: './src/client/config.ts' }],
})