We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The regular match contains a slash, but an extra slash is spliced below.
echo-swagger/swagger.go
Lines 131 to 164 in 5602047
So if you access the path /swagger/, you will get /swagger//index.html
/swagger/
/swagger//index.html
The text was updated successfully, but these errors were encountered:
This is my workaround FWIW:
swaggerRedirect := func(c echo.Context) error { return c.Redirect(http.StatusMovedPermanently, "/api/v1/doc/index.html") } e.GET("/api/v1/doc", swaggerRedirect) e.GET("/api/v1/doc/", swaggerRedirect) e.GET("/api/v1/doc/*", echoSwagger.WrapHandler)
Sorry, something went wrong.
I have same problem. I'm going to look to the gin side...
No branches or pull requests
The regular match contains a slash, but an extra slash is spliced below.
echo-swagger/swagger.go
Lines 131 to 164 in 5602047
So if you access the path
/swagger/
, you will get/swagger//index.html
The text was updated successfully, but these errors were encountered: