mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25:20 +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:
parent
f762bc7573
commit
c54452c08a
@ -368,7 +368,7 @@ components:
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: integer
|
||||
format: uint64
|
||||
format: int64
|
||||
|
||||
PciDeviceInfo:
|
||||
required:
|
||||
@ -741,7 +741,7 @@ components:
|
||||
properties:
|
||||
size:
|
||||
type: integer
|
||||
format: uint64
|
||||
format: int64
|
||||
prefault:
|
||||
type: boolean
|
||||
default: false
|
||||
|
Loading…
Reference in New Issue
Block a user