mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
api: http: Fix openpi schema.
Fix invalid type for version: - VmInfo.version.type string Change Null value from enum as it has problems to build clients with openapi tools. - ConsoleConfig.mode.enum Null -> Nil Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
90d1083bda
commit
786e33931f
@ -159,7 +159,7 @@ components:
|
|||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
version:
|
version:
|
||||||
type: '#/components/schemas/VmConfig'
|
type: string
|
||||||
state:
|
state:
|
||||||
type: string
|
type: string
|
||||||
enum: [Created, Booted, Shutdown]
|
enum: [Created, Booted, Shutdown]
|
||||||
@ -341,7 +341,7 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
mode:
|
mode:
|
||||||
type: string
|
type: string
|
||||||
enum: [Off, Tty, File, Null]
|
enum: [Off, Tty, File, None]
|
||||||
iommu:
|
iommu:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user