Skip to content
Merged
8 changes: 7 additions & 1 deletion ui/desktop/openapi-ts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@ import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({
input: './openapi.json',
output: './src/api',
plugins: ['@hey-api/client-fetch'],
plugins: [
{
name: '@hey-api/client-fetch',
// Disable SSE support to avoid requiring SSE options on all requests
sse: false,

@zanesq zanesq Oct 15, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DOsinga hey-api now has SSE support after this upgrade so we can enable this and use it when we are ready. I disabled it for now because it was generating types that weren't compatible with the current setup.

},
],
});
Loading
Loading