Skip to content

chore: accept event streaming in swaggo@v2#1994

Open
miguelhrocha wants to merge 2 commits intoswaggo:v2from
miguelhrocha:v2-accept-text-event-stream
Open

chore: accept event streaming in swaggo@v2#1994
miguelhrocha wants to merge 2 commits intoswaggo:v2from
miguelhrocha:v2-accept-text-event-stream

Conversation

@miguelhrocha
Copy link
Copy Markdown
Contributor

Describe the PR
In this PR (#1992), I extended the accepted MIME Types to include the text/event-stream type used by SSE. That PR was merged into the V1 version of Swaggo.

This PR replicates that change into the V2 iteration of Swaggo.

Relation issue
#1931

@miguelhrocha miguelhrocha changed the title V2 accept text event stream chore: accept event streaming in swaggo@v2 Mar 21, 2025
@sdghchj
Copy link
Copy Markdown
Member

sdghchj commented Mar 22, 2025

Could you please help fix this test?
field_parser_v3_test.go:187 schema.Spec.Type = []string{"string"} => schema.Spec.Type = &spec.SingleOrArray[string]{STRING}

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