Skip to content

fix: explicitly set inferSSEOverload under generation section#189

Merged
louis-sanna-dev merged 1 commit into
mainfrom
ls/add-infer-sse-overload
Mar 20, 2026
Merged

fix: explicitly set inferSSEOverload under generation section#189
louis-sanna-dev merged 1 commit into
mainfrom
ls/add-infer-sse-overload

Conversation

@louis-sanna-dev

@louis-sanna-dev louis-sanna-dev commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Explicitly sets inferSSEOverload: true under the generation: section in gen.yaml
  • Ensures Speakeasy generates proper type-safe overloads for endpoints returning both JSON and SSE (e.g. speech)

Test plan

  • Verify next SDK regeneration still produces correct streaming types

While this defaults to true, setting it explicitly ensures proper
type-safe overloads for endpoints returning both JSON and SSE responses.
Aligns with client-python which already has it set explicitly.
@louis-sanna-dev
louis-sanna-dev merged commit 783dfaf into main Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants