diff --git a/src/handlers/homepage.rs b/src/handlers/homepage.rs
index ad989c5..cd20262 100644
--- a/src/handlers/homepage.rs
+++ b/src/handlers/homepage.rs
@@ -99,7 +99,7 @@ pub async fn homepage() -> impl IntoResponse {
d8' `8b 8P' `Y8 88 `"YbbdP'Y8 88 88 88
diff --git a/src/main.rs b/src/main.rs
index 26d9d94..4d4cd91 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,7 +45,7 @@ async fn shutdown_signal() {
}
fn display_additional_info(protocol: &str, ip: IpAddr, port: u16) {
- println!("\nš Explore the API using Swagger ({0}://{1}:{2}/swagger)\n or import the OpenAPI spec ({0}://{1}:{2}/openapi.json).", protocol, ip, port);
+ println!("\nš Explore the API using Swagger ({0}://{1}:{2}/docs)\n or import the OpenAPI spec ({0}://{1}:{2}/openapi.json).", protocol, ip, port);
println!("\n𩺠Ensure your Docker setup is reliable,\n by pointing its healthcheck to {0}://{1}:{2}/health", protocol, ip, port);
println!("\nPress [CTRL] + [C] to gracefully shutdown.");
}
diff --git a/src/routes/mod.rs b/src/routes/mod.rs
index 042fc30..d7ee3d3 100644
--- a/src/routes/mod.rs
+++ b/src/routes/mod.rs
@@ -130,7 +130,7 @@ pub fn create_routes(database_connection: PgPool) -> Router {
let openapi = ApiDoc::openapi();
// Create Swagger UI
- let swagger_ui = SwaggerUi::new("/swagger")
+ let swagger_ui = SwaggerUi::new("/docs")
.url("/openapi.json", openapi.clone());
// Combine all routes and add middleware