From 3554fe6480af497c4bc99f48b7b5362df908b6b2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 24 Feb 2021 14:50:08 +0100 Subject: [PATCH] update to schema changes in proxmox Signed-off-by: Wolfgang Bumiller --- src/bin/docgen.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/bin/docgen.rs b/src/bin/docgen.rs index 1499fee0..8d018813 100644 --- a/src/bin/docgen.rs +++ b/src/bin/docgen.rs @@ -218,11 +218,7 @@ pub fn dump_schema(schema: &Schema) -> Value { data } -pub fn dump_property_schema( - param: &dyn ObjectSchemaType, -) -> Value - where I: Iterator, -{ +pub fn dump_property_schema(param: &dyn ObjectSchemaType) -> Value { let mut properties = json!({}); for (prop, optional, schema) in param.properties() {