-
Notifications
You must be signed in to change notification settings - Fork 117
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
Unable to use scope together with docs #415
Comments
Hey! |
@tiagolobocastro Yep, swagger_ui's docs handler doesn't respond. |
I can't quite remember this properly but with actix when you define a scope (eg: for |
This is a known limitation of actix and this PR should fix the issue: actix/actix-web#2264 |
you need to re-organize it as
the scope router will swallow all traffic and return 404 if there's no match. |
Hi, folk!
It looks like we can't use common preffix for a scope and default ui path
swagger_ui_at("/-/docs")
.For example, uncommenting lines will break docs:
The text was updated successfully, but these errors were encountered: