From 96f99bb9e4e750ee0ef8fe0b54e07bb671c876c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Tue, 10 Dec 2024 10:37:04 +0000 Subject: [PATCH] bugfix: added explicit openapi servers to account for route prefixes (#5237) --- nym-api/src/support/http/openapi.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nym-api/src/support/http/openapi.rs b/nym-api/src/support/http/openapi.rs index 876bf35cb7..99713e1650 100644 --- a/nym-api/src/support/http/openapi.rs +++ b/nym-api/src/support/http/openapi.rs @@ -17,6 +17,11 @@ use utoipauto::utoipauto; #[derive(OpenApi)] #[openapi( info(title = "Nym API"), + servers( + (url = "/api", description = "Main Nym Api Server"), + (url = "/", description = "Auxiliary Nym Api Instances"), + (url = "/", description = "Local Development Server") + ), tags(), components(schemas( models::CirculatingSupplyResponse,