diff --git a/proxmox-api/src/api_type.rs b/proxmox-api/src/api_type.rs index f06c31d5..00eb003e 100644 --- a/proxmox-api/src/api_type.rs +++ b/proxmox-api/src/api_type.rs @@ -197,6 +197,7 @@ impl ApiType for Option { DATA.once.call_once(|| { let info = T::type_info(); DATA.name.set(Some(format!("optional: {}", info.name))); + DATA.description.set(Some(format!("optional: {}", info.description))); DATA.info.set(Some(TypeInfo { name: unsafe { (*DATA.name.as_ptr()).as_ref().unwrap().as_str() }, description: unsafe { (*DATA.description.as_ptr()).as_ref().unwrap().as_str() },