vmm, openapi: Token Bucket fields should be uint64

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 <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2022-04-27 11:54:35 +02:00 committed by Fabiano Fidêncio
parent 79f4c2db01
commit 87eed369cd

View File

@ -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: