diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index e9b3fae70..c16e05a5b 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -256,6 +256,8 @@ components: $ref: '#/components/schemas/MemoryConfig' kernel: $ref: '#/components/schemas/KernelConfig' + initramfs: + $ref: '#/components/schemas/InitramfsConfig' cmdline: $ref: '#/components/schemas/CmdLineConfig' disks: @@ -337,6 +339,14 @@ components: path: type: string + InitramfsConfig: + required: + - path + type: object + properties: + path: + type: string + CmdLineConfig: required: - args