Skip to content

Commit 5309b92

Browse files
authored
fix(apps/hermes): fix encoding description (#1640)
* update encoding desc * revert version * bump version
1 parent 223559e commit 5309b92

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

apps/hermes/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/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.5.9"
3+
version = "0.5.10"
44
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
55
edition = "2021"
66

apps/hermes/src/api/rest/v2/latest_price_updates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub struct LatestPriceUpdatesQueryParams {
5050
#[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")]
5151
ids: Vec<PriceIdInput>,
5252

53-
/// If true, include the parsed price update in the `parsed` field of each returned feed. Default is `hex`.
53+
/// Optional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`.
5454
#[serde(default)]
5555
encoding: EncodingType,
5656

apps/hermes/src/api/rest/v2/sse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub struct StreamPriceUpdatesQueryParams {
5858
#[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")]
5959
ids: Vec<PriceIdInput>,
6060

61-
/// If true, include the parsed price update in the `parsed` field of each returned feed. Default is `hex`.
61+
/// Optional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`.
6262
#[serde(default)]
6363
encoding: EncodingType,
6464

apps/hermes/src/api/rest/v2/timestamp_price_updates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub struct TimestampPriceUpdatesQueryParams {
6060
#[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")]
6161
ids: Vec<PriceIdInput>,
6262

63-
/// If true, include the parsed price update in the `parsed` field of each returned feed. Default is `hex`.
63+
/// Optional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`.
6464
#[serde(default)]
6565
encoding: EncodingType,
6666

0 commit comments

Comments
 (0)