From 4639eb9940c6251fa09e7601016bca693ba13982 Mon Sep 17 00:00:00 2001 From: John Hartley Date: Wed, 27 Mar 2024 06:59:22 +0000 Subject: [PATCH] Add limit to caps response re AB#9243 --- datatrails-common-api/caps/v1/caps/caps.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/datatrails-common-api/caps/v1/caps/caps.proto b/datatrails-common-api/caps/v1/caps/caps.proto index 6a31199..80afac6 100644 --- a/datatrails-common-api/caps/v1/caps/caps.proto +++ b/datatrails-common-api/caps/v1/caps/caps.proto @@ -36,6 +36,13 @@ message Cap { (validate.rules).int64.gte = -1 ]; + int64 resource_cap = 3 [ + (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { + description: "Resource cap" + }, + (validate.rules).int64.gte = -1 + ]; + } message Caps {