mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-14 16:45:27 +00:00
vmm: openapi: Update OpenAPI definition with RestoreConfig
Making sure the OpenAPI definition is up to date with newly added structure and parameters to support VM restoration. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
8d9d22436a
commit
0ea706faf5
@ -245,7 +245,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/VmRestoreConfig'
|
$ref: '#/components/schemas/RestoreConfig'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
@ -583,8 +583,12 @@ components:
|
|||||||
destination_url:
|
destination_url:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
VmRestoreConfig:
|
RestoreConfig:
|
||||||
|
required:
|
||||||
|
- source_url
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
source_url:
|
source_url:
|
||||||
type: string
|
type: string
|
||||||
|
prefault:
|
||||||
|
type: boolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user