swagger-api / swagger.io-docs

The content of swagger.io
https://swagger.io/docs/
1.56k stars 404 forks source link

Error 404 when opening docs without the trailing slash (/) #362

Closed makisukurisu closed 2 months ago

makisukurisu commented 2 months ago

Hello, I'm not sure if this was done intentionally, or accidentally, but it appears that recently all the links in docs require the trailing slash to be present at the end of the URL, otherwise users get a 404 page.

You can see an example of this behavior by opening those links:

First one will work just fine, while the other will redirect users to: https://swagger.io/open-source-tools/swagger-ui/usage/cors/

Which is incorrect, because /docs/ prefix is missing in the redirect URL.

Hopefully this can be resolved soon.

frankkilcommins commented 2 months ago

Thanks for reporting @makisukurisu . We'll check this out.

declark commented 2 months ago

@makisukurisu I pushed an update to our proxy configuration. It's all set now. Thank you for reporting!