summaryrefslogtreecommitdiffstats
path: root/src/state
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-26 21:43:42 +0100
committertv <tv@krebsco.de>2026-10-26 21:43:42 +0100
commit3374b029bea44fed6ad5a46a7a05c269ce61af58 (patch)
treeca9eba49e886c9dcd4416c4fe7790ca34f07f376 /src/state
parent137b1547f847ff2402ea9e634b64ee2196a75075 (diff)
replace utoipa by static openapi.yaml
Diffstat (limited to 'src/state')
-rw-r--r--src/state/peer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/peer.rs b/src/state/peer.rs
index 944b886..344bcdb 100644
--- a/src/state/peer.rs
+++ b/src/state/peer.rs
@@ -134,7 +134,7 @@ pub(crate) struct PeerState {
/// Trouble with a peer, counted since it was first listed. Lost keepalives and refused
/// sends are in the traffic counters (`transport::traffic`): every PONG answers a PING.
-#[derive(Debug, Default, Clone, Copy, serde::Serialize, utoipa::ToSchema)]
+#[derive(Debug, Default, Clone, Copy, serde::Serialize)]
#[serde(rename_all = "camelCase")]
pub(crate) struct Incidents {
/// Our sync messages left unanswered until the reply timeout (then sent again).