diff --git a/pbs-api-types/src/metrics.rs b/pbs-api-types/src/metrics.rs index be5ff27a..99df88a7 100644 --- a/pbs-api-types/src/metrics.rs +++ b/pbs-api-types/src/metrics.rs @@ -147,7 +147,6 @@ pub struct InfluxDbHttp { pub comment: Option, } - #[api] #[derive(Copy, Clone, Deserialize, Serialize, PartialEq, Eq, PartialOrd, Ord)] /// Type of the metric server diff --git a/pbs-api-types/src/node.rs b/pbs-api-types/src/node.rs index 704215bb..9033d586 100644 --- a/pbs-api-types/src/node.rs +++ b/pbs-api-types/src/node.rs @@ -1,9 +1,8 @@ -use serde::{Deserialize, Serialize}; use proxmox_schema::*; +use serde::{Deserialize, Serialize}; use crate::StorageStatus; - #[api] #[derive(Serialize, Deserialize, Default)] #[serde(rename_all = "kebab-case")]