Add #[serde(deny_unknown_fields)] to action structs that didn't have it (#33679)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-07-01 00:20:02 +00:00
committed by GitHub
parent c74ecb4654
commit f022a13091
6 changed files with 16 additions and 1 deletions
+1
View File
@@ -288,6 +288,7 @@ actions!(
#[derive(Default, PartialEq, Eq, Clone, Deserialize, JsonSchema, Action)]
#[action(namespace = file_finder, name = "Toggle")]
#[serde(deny_unknown_fields)]
pub struct ToggleFileFinder {
#[serde(default)]
pub separate_history: bool,