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' $ref: '#/components/schemas/MemoryConfig'
kernel: kernel:
$ref: '#/components/schemas/KernelConfig' $ref: '#/components/schemas/KernelConfig'
initramfs:
$ref: '#/components/schemas/InitramfsConfig'
cmdline: cmdline:
$ref: '#/components/schemas/CmdLineConfig' $ref: '#/components/schemas/CmdLineConfig'
disks: disks:
@@ -337,6 +339,14 @@ components:
path: path:
type: string type: string
InitramfsConfig:
required:
- path
type: object
properties:
path:
type: string
CmdLineConfig: CmdLineConfig:
required: required:
- args - args