fix: remove trailing slash from swagger UI route
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
90d4f3f10b
commit
454bf7ba4a
@@ -90,5 +90,5 @@ pub fn add_routes(router: Router<AppState>) -> Router<AppState> {
|
|||||||
router
|
router
|
||||||
// Documentation endpoints
|
// Documentation endpoints
|
||||||
.route("/openapi.json", get(handle_openapi))
|
.route("/openapi.json", get(handle_openapi))
|
||||||
.route("/swagger/", get(handle_swagger_ui))
|
.route("/swagger", get(handle_swagger_ui))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user