Skip to content

Commit

Permalink
Merge pull request #1607 from Permify/ufuk/typofix
Browse files Browse the repository at this point in the history
fix: fixed pagination typos
  • Loading branch information
tolgaOzen committed Sep 19, 2024
2 parents eb7066f + 819194c commit bbda200
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions docs/api-reference/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of entities to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down Expand Up @@ -2322,7 +2322,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of entities to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down Expand Up @@ -2357,7 +2357,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of subjects to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down Expand Up @@ -2920,7 +2920,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of schemas to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down
8 changes: 4 additions & 4 deletions docs/api-reference/openapiv2/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2270,7 +2270,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of entities to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down Expand Up @@ -2312,7 +2312,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of entities to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down Expand Up @@ -2347,7 +2347,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of subjects to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down Expand Up @@ -2902,7 +2902,7 @@
"page_size": {
"type": "integer",
"format": "int64",
"description": "page_size is the number of tenants to be returned in the response.\nThe value should be between 1 and 100."
"description": "page_size is the number of schemas to be returned in the response.\nThe value should be between 1 and 100."
},
"continuous_token": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions pkg/pb/base/v1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions proto/base/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ message PermissionLookupEntityRequest {
// helps filter requests by specifying which entities are relevant to the operation.
map<string, StringArrayValue> scope = 7 [json_name = "scope"];

// page_size is the number of tenants to be returned in the response.
// page_size is the number of entities to be returned in the response.
// The value should be between 1 and 100.
uint32 page_size = 8 [
json_name = "page_size",
Expand Down Expand Up @@ -1208,7 +1208,7 @@ message PermissionLookupSubjectRequest {
// Context associated with this request.
Context context = 6 [json_name = "context"];

// page_size is the number of tenants to be returned in the response.
// page_size is the number of subjects to be returned in the response.
// The value should be between 1 and 100.
uint32 page_size = 7 [
json_name = "page_size",
Expand Down Expand Up @@ -1898,7 +1898,7 @@ message SchemaListRequest {
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes."}
];

// page_size is the number of tenants to be returned in the response.
// page_size is the number of schemas to be returned in the response.
// The value should be between 1 and 100.
uint32 page_size = 2 [
json_name = "page_size",
Expand Down

0 comments on commit bbda200

Please sign in to comment.