[pve-devel] [PATCH common/widget-toolkit] implement oneOf schema
Dominik Csapak
d.csapak at proxmox.com
Tue Nov 14 11:33:35 CET 2023
this series implementes the oneOf schema for the api, see the individual
patches for more details
pve-common:
Dominik Csapak (4):
section config: add test for the schemas
json schema: implement 'oneOf' schema
section config: allow separated property lists for plugins
section config: add tests for separated property lists
src/PVE/CLIHandler.pm | 2 +-
src/PVE/JSONSchema.pm | 117 ++++++-
src/PVE/RESTHandler.pm | 82 ++++-
src/PVE/SectionConfig.pm | 256 +++++++++++---
test/Makefile | 1 +
test/section_config_separated_test.pl | 486 ++++++++++++++++++++++++++
test/section_config_test.pl | 133 +++++++
7 files changed, 1006 insertions(+), 71 deletions(-)
create mode 100755 test/section_config_separated_test.pl
proxmox-widget-toolkit:
Dominik Csapak (1):
api-viewer: implement basic oneOf support
src/api-viewer/APIViewer.js | 34 +++++++++++++++++++++++++++++++---
1 file changed, 31 insertions(+), 3 deletions(-)
--
2.30.2
More information about the pve-devel
mailing list