Skip to content

Commit

Permalink
feat(compass): add include_fields in GetAllAssets request
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaliagg9791 committed Aug 1, 2023
1 parent ec06634 commit 3fcb813
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gotocompany/compass/v1beta1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,15 @@ message GetAllAssetsRequest {
bool with_total = 10 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "if set include total field in response"
}];

repeated string include_fields = 11 [(validate.rules).repeated = {
unique: true,
ignore_empty: true
}];

bool include_user_info = 12 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "if true user information will be added in the response else not"
}];
}

message GetAllAssetsResponse {
Expand Down

0 comments on commit 3fcb813

Please sign in to comment.