From 28abfa9de529e29d6f1996b9f21513d18668b5b8 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 9 Apr 2020 17:55:50 +0100 Subject: [PATCH] vmm: openapi: Mark "initramfs" field nullable This should make it a pointer in the Go generated code so that it will be ommitted and thus not populated with an unhelpful default value. Fixes: #1015 Signed-off-by: Rob Bradford --- vmm/src/api/openapi/cloud-hypervisor.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index aa4a3c07c..4a79b1406 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -374,6 +374,7 @@ components: type: string InitramfsConfig: + nullable: true required: - path type: object