fix: remove trailing slash from swagger UI route

This commit is contained in:
Andrew Phillips
2025-08-12 16:54:57 -03:00
committed by Andrew Phillips (aider)
parent 90d4f3f10b
commit 454bf7ba4a

View File

@@ -90,5 +90,5 @@ pub fn add_routes(router: Router<AppState>) -> Router<AppState> {
router
// Documentation endpoints
.route("/openapi.json", get(handle_openapi))
.route("/swagger/", get(handle_swagger_ui))
.route("/swagger", get(handle_swagger_ui))
}