mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +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:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/VmRestoreConfig'
|
||||
$ref: '#/components/schemas/RestoreConfig'
|
||||
required: true
|
||||
responses:
|
||||
204:
|
||||
@ -583,8 +583,12 @@ components:
|
||||
destination_url:
|
||||
type: string
|
||||
|
||||
VmRestoreConfig:
|
||||
RestoreConfig:
|
||||
required:
|
||||
- source_url
|
||||
type: object
|
||||
properties:
|
||||
source_url:
|
||||
type: string
|
||||
prefault:
|
||||
type: boolean
|
||||
|
Loading…
Reference in New Issue
Block a user