mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +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
|
||||
properties:
|
||||
version:
|
||||
type: '#/components/schemas/VmConfig'
|
||||
type: string
|
||||
state:
|
||||
type: string
|
||||
enum: [Created, Booted, Shutdown]
|
||||
@ -341,7 +341,7 @@ components:
|
||||
type: string
|
||||
mode:
|
||||
type: string
|
||||
enum: [Off, Tty, File, Null]
|
||||
enum: [Off, Tty, File, None]
|
||||
iommu:
|
||||
type: boolean
|
||||
default: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user