diff --git a/proxmox-api-macro/src/util.rs b/proxmox-api-macro/src/util.rs index b4ddcc01..87d29a5e 100644 --- a/proxmox-api-macro/src/util.rs +++ b/proxmox-api-macro/src/util.rs @@ -496,7 +496,12 @@ pub fn infer_type(schema: &mut Schema, ty: &syn::Type) -> Result "cannot infer parameter type from this rust type"); + // bail!(ty => "cannot infer parameter type from this rust type"); + schema.item = SchemaItem::ExternType(syn::ExprPath { + attrs: Vec::new(), + qself: path.qself.clone(), + path: path.path.clone(), + }); } } _ => (),