bugfix: added explicit openapi servers to account for route prefixes (#5237)
This commit is contained in:
committed by
GitHub
parent
10933ff8f1
commit
96f99bb9e4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user