mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: openapi: fix integers format
According to openAPI specification[1], the format for `integer` types can be only `int32` or `int64`, unsigned integers are not supported. This patch replaces `uint64` with `int64`. [1]: https://swagger.io/specification/#data-types Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
f762bc7573
commit
c54452c08a
@@ -368,7 +368,7 @@ components:
|
|||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
|
|
||||||
PciDeviceInfo:
|
PciDeviceInfo:
|
||||||
required:
|
required:
|
||||||
@@ -741,7 +741,7 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
size:
|
size:
|
||||||
type: integer
|
type: integer
|
||||||
format: uint64
|
format: int64
|
||||||
prefault:
|
prefault:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|||||||
Reference in New Issue
Block a user