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

Scheme to replace swagger.json #798

Open
somta opened this issue Jul 6, 2020 · 2 comments
Open

Scheme to replace swagger.json #798

somta opened this issue Jul 6, 2020 · 2 comments
Labels

Comments

@somta
Copy link

somta commented Jul 6, 2020

I want to change the json address of swagger from http://127.0.0.1:8080/swagger.json to http://127.0.0.1:8080/v2/api-docs, whether it supports such operations or has related parameter configuration

@somta somta added the bug label Jul 6, 2020
@somta somta changed the title swagger Scheme to replace swagger.json Jul 6, 2020
@yunus776
Copy link

Bu siteye ulaşılamıyor

127.0.0.1 ana makinesine şu anda ulaşılamıyor.
ERR_CONNECTION_FAILED

@cschroeer
Copy link

Hi, I have a similiar issue.
Following the documentation on https://flask-restplus.readthedocs.io/en/stable/swagger.html#customization I can adjust the URL of the Swagger UI path.
Therefore, I also expected that the subpaths regarding Swagger UI also have been adjusted.

If I configure doc='/doc/', e. g. http://localhost:80/doc works, but I also expected that http://localhost:80/doc/swagger.json also should work. The swagger.json is still accessible via http://localhost:80/swagger.json .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants