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:
Julio Montes
2020-09-25 13:04:03 -05:00
committed by Rob Bradford
parent f762bc7573
commit c54452c08a
+2 -2
View File
@@ -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