mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user