Skip to content

Commit

Permalink
update description for page_size & total_pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman Prasad authored and Aman Prasad committed Aug 14, 2024
1 parent 4ba9e98 commit ce82a67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions raystack/frontier/v1beta1/admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ message ListAllOrganizationsRequest {
gte: 1,
ignore_empty: true,
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "The maximum number of users to return per page. The default is 50."}
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "The maximum number of organizations to return per page. The default is 50."}
];
int32 page_num = 4 [
(validate.rules).int32 = {
Expand All @@ -471,7 +471,9 @@ message ListAllOrganizationsRequest {

message ListAllOrganizationsResponse {
repeated Organization organizations = 1;
int32 total_pages = 2;
int32 total_pages = 2[
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Total number of pages in response"}
];
}

message ListProjectsRequest {
Expand Down

0 comments on commit ce82a67

Please sign in to comment.