From fcc5033466e58e3beec05ee7748d33522b6b32b0 Mon Sep 17 00:00:00 2001 From: Mike Coleman Date: Mon, 16 Jan 2023 23:57:23 -0800 Subject: Change some integer types to int64 Modified integer types representing byte or object count to int64 to prevent overflow. --- doc/api/garage-admin-v0.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api/garage-admin-v0.yml b/doc/api/garage-admin-v0.yml index a841f8d9..51968894 100644 --- a/doc/api/garage-admin-v0.yml +++ b/doc/api/garage-admin-v0.yml @@ -678,10 +678,12 @@ paths: properties: maxSize: type: integer + format: int64 nullable: true example: 19029801 maxObjects: type: integer + format: int64 nullable: true example: null @@ -1158,9 +1160,11 @@ components: $ref: '#/components/schemas/BucketKeyInfo' objects: type: integer + format: int64 example: 14827 bytes: type: integer + format: int64 example: 13189855625 unfinishedUploads: type: integer @@ -1171,10 +1175,12 @@ components: maxSize: nullable: true type: integer + format: int64 example: null maxObjects: nullable: true type: integer + format: int64 example: null -- cgit v1.2.3