Browse Source

chore(fortuna) Add server tag in OpenAPI

Aditya Arora 2 tháng trước cách đây
mục cha
commit
01b98f7f18
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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;