diff options
Diffstat (limited to 'src/configs/openstack.rs')
-rw-r--r-- | src/configs/openstack.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/configs/openstack.rs b/src/configs/openstack.rs index 4cb4e7961..2c93d426d 100644 --- a/src/configs/openstack.rs +++ b/src/configs/openstack.rs @@ -1,7 +1,11 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] -#[cfg_attr(feature = "config-schema", derive(schemars::JsonSchema))] +#[cfg_attr( + feature = "config-schema", + derive(schemars::JsonSchema), + schemars(deny_unknown_fields) +)] #[serde(default)] pub struct OspConfig<'a> { pub format: &'a str, |