From c54452c08a467a3e35d8d72f2a91d424e9718c57 Mon Sep 17 00:00:00 2001 From: Julio Montes Date: Fri, 25 Sep 2020 13:04:03 -0500 Subject: [PATCH] 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 --- vmm/src/api/openapi/cloud-hypervisor.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index 138378127..88c4b64ff 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -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