From 19ad65ac842c24a92267ed2844b8370bea6c0d6d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 14 Apr 2020 13:29:43 +0200 Subject: [PATCH] api-macro: error on unexpected keys Signed-off-by: Wolfgang Bumiller --- proxmox-api-macro/src/api/method.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/proxmox-api-macro/src/api/method.rs b/proxmox-api-macro/src/api/method.rs index e93197a7..33477b10 100644 --- a/proxmox-api-macro/src/api/method.rs +++ b/proxmox-api-macro/src/api/method.rs @@ -45,6 +45,14 @@ pub fn handle_method(mut attribs: JSONObject, mut func: syn::ItemFn) -> Result