mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-01 11:05:46 +00:00
vmm: openapi: fix integers format
According to openAPI specification [1], the format for `integer` types can be only `int32` or `int64`, unsigned and 8-bits integers are not supported. This patch replaces `uint64` with `int64`, `uint32` with `int32` and `uint8` with `int32`. [1]: https://swagger.io/specification/#data-types Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
5a0d3277c8
commit
668c563dac
@ -492,7 +492,7 @@ components:
|
|||||||
default: false
|
default: false
|
||||||
host_numa_node:
|
host_numa_node:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint32
|
format: int32
|
||||||
hotplug_size:
|
hotplug_size:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
@ -532,7 +532,7 @@ components:
|
|||||||
default: false
|
default: false
|
||||||
balloon_size:
|
balloon_size:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
zones:
|
zones:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -754,10 +754,10 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
destination:
|
destination:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint32
|
format: int32
|
||||||
distance:
|
distance:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint8
|
format: int32
|
||||||
|
|
||||||
NumaConfig:
|
NumaConfig:
|
||||||
required:
|
required:
|
||||||
@ -766,12 +766,12 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
guest_numa_id:
|
guest_numa_id:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint32
|
format: int32
|
||||||
cpus:
|
cpus:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint8
|
format: int32
|
||||||
distances:
|
distances:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
Loading…
Reference in New Issue
Block a user