Skip to content

Commit 8f238a2

Browse files
committed
chore(hermes) Add server endpoints to openapi schemma
1 parent 00a1a68 commit 8f238a2

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

apps/hermes/server/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/hermes/server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hermes"
3-
version = "0.10.5"
3+
version = "0.10.6"
44
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
55
edition = "2021"
66

apps/hermes/server/src/api.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ where
9393

9494
#[derive(OpenApi)]
9595
#[openapi(
96+
servers(
97+
(url = "https://hermes.pyth.network", description = "Public endpoint"),
98+
(url = "https://hermes-beta.pyth.network", description = "Beta (for testnet Aptos and Sui testnets)"),
99+
),
96100
paths(
97101
rest::get_price_feed,
98102
rest::get_vaa,

0 commit comments

Comments
 (0)