Skip to content

feat: add handler #28

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: add handler #28

wants to merge 1 commit into from

Conversation

RiccardoM
Copy link

Description

This PR adds back the file handler that has been deleted when migrating to support Go embed.

@titouanj
Copy link

I see that @easonlin404 is a member of swaggo and a maintainer of this repo. I'm pinging him to see if he can review this PR and maybe the related one in gin-swagger

@ubogdan
Copy link
Contributor

ubogdan commented Jun 19, 2025

@titouanj is this related to an issue ?

@titouanj
Copy link

titouanj commented Jun 19, 2025

@titouanj is this related to an issue ?

I guess this one is the closest to the actual problem: swaggo/gin-swagger#315

@RiccardoM
Copy link
Author

@ubogdan This PR is needed in order to make it possible to properly support OpenAPI Spec v3 by bumping swag to v2. The handler you see in this PR is needed in order to make sure that the generated file can be served properly using the /swag/doc.json REST endpoint

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.

3 participants