bugfix: added explicit openapi servers to account for route prefixes (#5237)

This commit is contained in:
Jędrzej Stuczyński
2024-12-10 10:37:04 +00:00
committed by GitHub
parent 10933ff8f1
commit 96f99bb9e4
+5
View File
@@ -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,