From 87eed369cd091db76ed8542750803659e729b239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Wed, 27 Apr 2022 11:54:35 +0200 Subject: [PATCH] vmm, openapi: Token Bucket fields should be uint64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Token Bucket fields are, on the Cloud Hypervisor side, u64. However, we expose those as int64 in the OpenAPI YAML file. With that in mind, let's adjust the yaml file to expose those as uint64. Signed-off-by: Fabiano FidĂȘncio --- vmm/src/api/openapi/cloud-hypervisor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index 4c0cff139..6494c5374 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -729,17 +729,17 @@ components: properties: size: type: integer - format: int64 + format: uint64 minimum: 0 description: The total number of tokens this bucket can hold. one_time_burst: type: integer - format: int64 + format: uint64 minimum: 0 description: The initial size of a token bucket. refill_time: type: integer - format: int64 + format: uint64 minimum: 0 description: The amount of milliseconds it takes for the bucket to refill. description: