diff options
author | Erovia <Erovia@users.noreply.github.com> | 2022-02-28 20:02:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 20:02:39 +0000 |
commit | fbfd5312b995a32af690c183cad0dc988f695e89 (patch) | |
tree | bf241a475ec51b79d6427ac422f197b6d3720661 /quantum/via.c | |
parent | 779c7debcfff1a4a3ad578a0c12bdd50cba11039 (diff) |
CLI: Validate JSON keymap input (#16261)
* Fix schema validator
It should use the passed schema.
* Add required attributes to keymap schema
* Rework subcommands to validate the JSON keymaps
The 'compile', 'flash' and 'json2c' subcommands were reworked to add
JSON keymap validation so error is reported for non-JSON and
non-compliant-JSON inputs.
* Fix required fields in keymap schema
* Add tests
* Fix compiling keymaps directly from keymap directory
* Schema should not require version for now.
Diffstat (limited to 'quantum/via.c')
0 files changed, 0 insertions, 0 deletions