diff --git a/src/api2/config/traffic_control.rs b/src/api2/config/traffic_control.rs index fa580a55..dec0e3b2 100644 --- a/src/api2/config/traffic_control.rs +++ b/src/api2/config/traffic_control.rs @@ -99,6 +99,7 @@ pub fn read_traffic_control( #[api()] #[derive(Serialize, Deserialize)] #[allow(non_camel_case_types)] +#[serde(rename_all = "kebab-case")] /// Deletable property name pub enum DeletableProperty { /// Delete the rate_in property.