Skip to content

Commit

Permalink
bugfix: added explicit openapi servers to account for route prefixes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jstuczyn authored Dec 10, 2024
1 parent 10933ff commit 96f99bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nym-api/src/support/http/openapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 96f99bb

Please sign in to comment.