Skip to content

Commit

Permalink
Add limit to caps response
Browse files Browse the repository at this point in the history
re AB#9243
  • Loading branch information
j-hartley committed Mar 27, 2024
1 parent b131f8d commit 4639eb9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions datatrails-common-api/caps/v1/caps/caps.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4639eb9

Please sign in to comment.