openapi: Add initramfs support
added InitramfsConfig property to the REST API spec
@@ -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
