Skip to content

feat(sse): allow specifying the schema for SSE operations#1061

Open
lsdch wants to merge 1 commit into
danielgtaylor:mainfrom
lsdch:sse-schema-override
Open

feat(sse): allow specifying the schema for SSE operations#1061
lsdch wants to merge 1 commit into
danielgtaylor:mainfrom
lsdch:sse-schema-override

Conversation

@lsdch

@lsdch lsdch commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Closes #1043

OpenAPI tools may have different interpretations of the SSE specification (which is kinda fuzzy as far as i can tell) and make opinionated decisions that may not be compatible across tools (see #1043 for an example).

This PR allows users to circumvent this issue by explicitly setting the response schema for an SSE operation.

Copilot AI review requested due to automatic review settings July 16, 2026 08:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (d6f2a37) to head (03561fc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1061   +/-   ##
=======================================
  Coverage   93.15%   93.16%           
=======================================
  Files          23       23           
  Lines        5012     5016    +4     
=======================================
+ Hits         4669     4673    +4     
  Misses        277      277           
  Partials       66       66           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lsdch lsdch force-pushed the sse-schema-override branch from 420777e to 03561fc Compare July 16, 2026 08:58
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.

Add the ability to set a custom schema for sse.Register

2 participants