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 <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-04-09 17:55:50 +01:00 committed by Sebastien Boeuf
parent c260640fd5
commit 28abfa9de5

View File

@ -374,6 +374,7 @@ components:
type: string
InitramfsConfig:
nullable: true
required:
- path
type: object