Skip to content

Commit c0fc931

Browse files
feat(lazer-protocol): add utoipa schema to api types (#3168)
* chore: add utoipa::ToSchema trait to request & response types for use in openapi spec * bump patch ver * chore: bump protocol dependents * unify utoipa version, add more ToSchema traits * fix: treat Channel as a str in schema * fix examples * examples * fmt * remove unnecessary import
1 parent 20bb435 commit c0fc931

File tree

9 files changed

+131
-60
lines changed

9 files changed

+131
-60
lines changed

Cargo.lock

Lines changed: 45 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazer/publisher_sdk/rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "pyth-lazer-publisher-sdk"
3-
version = "0.20.0"
3+
version = "0.20.1"
44
edition = "2021"
55
description = "Pyth Lazer Publisher SDK types."
66
license = "Apache-2.0"
77
repository = "https://github.com/pyth-network/pyth-crosschain"
88

99
[dependencies]
10-
pyth-lazer-protocol = { version = "0.20.0", path = "../../sdk/rust/protocol" }
10+
pyth-lazer-protocol = { version = "0.20.1", path = "../../sdk/rust/protocol" }
1111
anyhow = "1.0.98"
1212
protobuf = "3.7.2"
1313
serde_json = "1.0.140"

lazer/sdk/rust/client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "pyth-lazer-client"
3-
version = "8.6.0"
3+
version = "8.6.1"
44
edition = "2021"
55
description = "A Rust client for Pyth Lazer"
66
license = "Apache-2.0"
77

88
[dependencies]
9-
pyth-lazer-protocol = { path = "../protocol", version = "0.20.0" }
9+
pyth-lazer-protocol = { path = "../protocol", version = "0.20.1" }
1010
tokio = { version = "1", features = ["full"] }
1111
tokio-tungstenite = { version = "0.20", features = ["native-tls"] }
1212
futures-util = "0.3"

lazer/sdk/rust/protocol/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-lazer-protocol"
3-
version = "0.20.0"
3+
version = "0.20.1"
44
edition = "2021"
55
description = "Pyth Lazer SDK - protocol types."
66
license = "Apache-2.0"
@@ -21,6 +21,7 @@ chrono = "0.4.41"
2121
humantime = "2.2.0"
2222
hex = "0.4.3"
2323
thiserror = "2.0.12"
24+
utoipa = "5.3.1"
2425

2526
[dev-dependencies]
2627
bincode = "1.3.3"

0 commit comments

Comments
 (0)