From ab16af2941e8eb2d89cc702437c3a19ab02cd1b2 Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Mon, 25 Nov 2019 20:28:07 +0000 Subject: [PATCH] openapi: make context ID vsock int64 context ID on vsock man defines a 32-bits value, openapi default integer is a signed 32-bits value. This could lead to miss one bit during castings for typed client implmentations. Lets increase the range of valid values by requesting an int64. Signed-off-by: Jose Carlos Venegas Munoz --- vmm/src/api/openapi/cloud-hypervisor.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index aa9f0d882..93473cbcc 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -395,6 +395,7 @@ components: properties: cid: type: integer + format: int64 minimum: 3 description: Guest Vsock CID sock: