Ver Fonte

chore(fortuna) Add server tag in OpenAPI

Aditya Arora há 2 meses atrás
pai
commit
01b98f7f18
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      apps/fortuna/src/command/run.rs

+ 4 - 0
apps/fortuna/src/command/run.rs

@@ -51,6 +51,10 @@ pub async fn run_api(
     ),
     tags(
     (name = "fortuna", description = "Random number service for the Pyth Entropy protocol")
+    ),
+    servers(
+        (url = "https://fortuna.dourolabs.app", description = "Default Provider for mainnet chains"),
+        (url = "https://fortuna-staging.dourolabs.app", description = "Default Provider for testnet chains")
     )
     )]
     struct ApiDoc;