goose/ui/desktop/openapi-ts.config.ts

13 lines
299 B
TypeScript

import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({
input: './openapi.json',
output: './src/api',
plugins: [
{
name: '@hey-api/client-fetch',
// Disable SSE support to avoid requiring SSE options on all requests
sse: false,
},
],
});