Skip to content

Commit 96f99bb

Browse files
authored
bugfix: added explicit openapi servers to account for route prefixes (#5237)
1 parent 10933ff commit 96f99bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nym-api/src/support/http/openapi.rs

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ use utoipauto::utoipauto;
1717
#[derive(OpenApi)]
1818
#[openapi(
1919
info(title = "Nym API"),
20+
servers(
21+
(url = "/api", description = "Main Nym Api Server"),
22+
(url = "/", description = "Auxiliary Nym Api Instances"),
23+
(url = "/", description = "Local Development Server")
24+
),
2025
tags(),
2126
components(schemas(
2227
models::CirculatingSupplyResponse,

0 commit comments

Comments
 (0)