Skip to content

Commit

Permalink
Merge pull request #1510 from durgakiran/fix/doc-issue-list-schema-api
Browse files Browse the repository at this point in the history
fix(docs): fix list schema curl
  • Loading branch information
tolgaOzen committed Aug 26, 2024
2 parents c72183b + 4894b26 commit fbfd1cd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@
{
"label": "cURL",
"lang": "curl",
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"page_size\": 20,\n \"continuous_token\": \"\"\n}'"
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/list' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"page_size\": 20,\n \"continuous_token\": \"\"\n}'"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions docs/api-reference/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"name": "Apache-2.0 license",
"url": "https://github.com/Permify/permify/blob/master/LICENSE"
},
"version": "v1.0.2"
"version": "v1.0.3"
},
"servers": [
{
Expand Down Expand Up @@ -1424,7 +1424,7 @@
{
"label": "cURL",
"lang": "curl",
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"page_size\": 20,\n \"continuous_token\": \"\"\n}'"
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/list' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"page_size\": 20,\n \"continuous_token\": \"\"\n}'"
}
],
"x-codegen-request-body-name": "body"
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/openapiv2/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@
{
"label": "cURL",
"lang": "curl",
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"page_size\": 20,\n \"continuous_token\": \"\"\n}'"
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/list' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"page_size\": 20,\n \"continuous_token\": \"\"\n}'"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/pb/base/v1/service.pb.go

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

2 changes: 1 addition & 1 deletion proto/base/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,7 @@ service Schema {
fields: {
key: "source"
value: {string_value:
"curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/read' \\\n"
"curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/schemas/list' \\\n"
"--header 'Content-Type: application/json' \\\n"
"--data-raw '{\n"
" \"page_size\": 20,\n"
Expand Down

0 comments on commit fbfd1cd

Please sign in to comment.