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:
Sebastien Boeuf 2020-04-07 16:04:46 +02:00
parent 8d9d22436a
commit 0ea706faf5

View File

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