Skip to content

Treat Multi and Flow as single element schema with SSE media type#2549

Open
MikeEdgar wants to merge 2 commits intosmallrye:mainfrom
MikeEdgar:issue-2535
Open

Treat Multi and Flow as single element schema with SSE media type#2549
MikeEdgar wants to merge 2 commits intosmallrye:mainfrom
MikeEdgar:issue-2535

Conversation

@MikeEdgar
Copy link
Copy Markdown
Member

Fixes #2535
Relates to quarkusio/quarkus#51109

This PR will change schema generation to detect the SSE media type text/event-stream and generate a non-array schema for the type parameter given for Mutiny Multi and Kotlinx Flow types. Non-SSE media types will continue to generated array schemas.

Signed-off-by: Michael Edgar <michael@xlate.io>
Signed-off-by: Michael Edgar <michael@xlate.io>
@sonarqubecloud
Copy link
Copy Markdown

@MikeEdgar MikeEdgar marked this pull request as ready for review April 27, 2026 19:32
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.

Flow<T> should be detected as an array schema for non-SSE endpoints

1 participant