openapi: Add initramfs support

added InitramfsConfig property to the REST API spec

Signed-off-by: Damjan Georgievski <gdamjan@gmail.com>
This commit is contained in:
Damjan Georgievski 2020-03-15 18:52:33 +01:00 committed by Sebastien Boeuf
parent 4db252b418
commit 1f9bc68c54

View File

@ -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