From 681c59b0af008e63235c06847907443c43ea0de0 Mon Sep 17 00:00:00 2001 From: tribock Date: Tue, 12 May 2026 05:58:53 +0200 Subject: [PATCH] feat(VmServiceSpec): Remove omitempty from VmServiceSpec spec to have it always rendered Signed-off-by: tribock Signed-off-by: tribock --- vapi/namespace/namespace.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vapi/namespace/namespace.go b/vapi/namespace/namespace.go index 016d573ab..1e2d0388f 100644 --- a/vapi/namespace/namespace.go +++ b/vapi/namespace/namespace.go @@ -1118,8 +1118,8 @@ type NamespacesInstanceCreateSpec struct { // VmServiceSpec https://developer.vmware.com/apis/vsphere-automation/v7.0U3/vcenter/data-structures/Namespaces/Instances/VMServiceSpec/ type VmServiceSpec struct { - ContentLibraries []string `json:"content_libraries,omitempty"` - VmClasses []string `json:"vm_classes,omitempty"` + ContentLibraries []string `json:"content_libraries"` + VmClasses []string `json:"vm_classes"` } // StorageSpec https://developer.broadcom.com/apis/vsphere-automation-api/v7.0U3/vcenter/data-structures/Namespaces_Instances_StorageSpec/