Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: accept event streaming in swaggo@v2 #1994

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

Conversation

miguelhrocha
Copy link
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
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