]> git.proxmox.com Git - proxmox.git/commit
schema: AllOf/OneOf: actually perform additional_properties() check
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 21 Feb 2024 10:41:53 +0000 (11:41 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 21 Feb 2024 10:43:20 +0000 (11:43 +0100)
commitbae2cf75de2d158798736ba064cb15f8c3f08eb4
treee650d6a5e0c7c8875550111ae7486f128c66a873
parent3f92e6286b06bbbfb193876576646e1f0c16975f
schema: AllOf/OneOf: actually perform additional_properties() check

rather than just always allowing additional properties, only return
true if any of the available schemas allows it

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-schema/src/schema.rs