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

Multiple API - Getting 404s when running /example/multiple #228

Closed
blink-daniel opened this issue Aug 13, 2022 · 1 comment
Closed

Multiple API - Getting 404s when running /example/multiple #228

blink-daniel opened this issue Aug 13, 2022 · 1 comment

Comments

@blink-daniel
Copy link

Getting 404s when running the below example:
https://github.com/swaggo/gin-swagger/tree/master/example/multiple

Steps to reproduce:

  1. run the multiple api example
gh repo clone swaggo/gin-swagger
cd gin-swagger/example/multiple
go run main.go 
  1. open http://localhost:8080/swagger/v1/index.html
  2. open http://localhost:8080/swagger/v2/index.html
  3. open again http://localhost:8080/swagger/v1/index.html
  4. the error should reproduce for instance v1 - blank page due to 404s. (instance v2 still works)

*Reproduced on macOS/Chrome on latest swag/gin-swagger master branch

@blink-daniel
Copy link
Author

closing, duplicate of #224

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

No branches or pull requests

1 participant