From 9c3dc216c6e0b80a2e895869adbf7e184321ddae Mon Sep 17 00:00:00 2001 From: Ben Kunkle Date: Tue, 20 Jan 2026 15:03:17 -0600 Subject: [PATCH] Use `anyOf` instead of `oneOf` in keymap schema (#47248) Closes #ISSUE Resolves some spurious warnings we were seeing in the keymap file due to keybind declarations matching multiple possible shapes which is not allowed with `oneOf` per the json-schema spec Release Notes: - N/A *or* Added/Fixed/Improved ... --- crates/settings/src/keymap_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/settings/src/keymap_file.rs b/crates/settings/src/keymap_file.rs index 569864ee792e0c9e363a6eff52a3f6db499864fa..8dec480489b7df0066f3c780195e4cecd1bf49c4 100644 --- a/crates/settings/src/keymap_file.rs +++ b/crates/settings/src/keymap_file.rs @@ -670,7 +670,7 @@ impl KeymapFile { generator.definitions_mut().insert( KeymapAction::schema_name().to_string(), json!({ - "oneOf": keymap_action_alternatives + "anyOf": keymap_action_alternatives }), );