Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update Stores links #422

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config/clients/dotnet/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Get a paginated list of stores.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/ListStores)
[API Documentation]({{apiDocsUrl}}#/Stores/ListStores)

```csharp
var options = new ClientListStoresOptions {
Expand All @@ -20,7 +20,7 @@ var response = await fgaClient.ListStores(options);

Initialize a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/CreateStore)
[API Documentation]({{apiDocsUrl}}#/Stores/CreateStore)

```csharp
var store = await fgaClient.CreateStore(new ClientCreateStoreRequest(){Name = "FGA Demo"})
Expand All @@ -39,7 +39,7 @@ fgaClient.StoreId = storeId;

Get information about the current store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/GetStore)
[API Documentation]({{apiDocsUrl}}#/Stores/GetStore)

> Requires a client initialized with a storeId

Expand All @@ -53,7 +53,7 @@ var store = await fgaClient.GetStore();

Delete a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/DeleteStore)
[API Documentation]({{apiDocsUrl}}#/Stores/DeleteStore)

> Requires a client initialized with a storeId

Expand Down
8 changes: 4 additions & 4 deletions config/clients/go/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Get a paginated list of stores.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/ListStores)
[API Documentation]({{apiDocsUrl}}#/Stores/ListStores)

```golang
options := ClientListStoresOptions{
Expand All @@ -20,7 +20,7 @@ stores, err := fgaClient.ListStores(context.Background()).Options(options).Execu

Create and initialize a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/CreateStore)
[API Documentation]({{apiDocsUrl}}#/Stores/CreateStore)

```golang
body := ClientCreateStoreRequest{Name: "FGA Demo"}
Expand All @@ -41,7 +41,7 @@ fgaClient.SetStoreId(store.Id)

Get information about the current store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/GetStore)
[API Documentation]({{apiDocsUrl}}#/Stores/GetStore)

```golang
options := ClientGetStoreOptions{
Expand All @@ -60,7 +60,7 @@ if err != nil {

Delete a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/DeleteStore)
[API Documentation]({{apiDocsUrl}}#/Stores/DeleteStore)

```golang
options := ClientDeleteStoreOptions{
Expand Down
8 changes: 4 additions & 4 deletions config/clients/java/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Get a paginated list of stores.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/ListStores)
[API Documentation]({{apiDocsUrl}}#/Stores/ListStores)

> Passing `ClientListStoresOptions` is optional. All fields of `ClientListStoresOptions` are optional.

Expand All @@ -22,7 +22,7 @@ var stores = fgaClient.listStores(options);

Initialize a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/CreateStore)
[API Documentation]({{apiDocsUrl}}#/Stores/CreateStore)

> Passing `ClientCreateStoreOptions` is optional. All fields of `ClientCreateStoreOptions` are optional.

Expand All @@ -45,7 +45,7 @@ fgaClient.setStoreId(store.getId());

Get information about the current store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/GetStore)
[API Documentation]({{apiDocsUrl}}#/Stores/GetStore)

> Requires a client initialized with a storeId

Expand All @@ -62,7 +62,7 @@ var store = fgaClient.getStore(options).get();

Delete a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/DeleteStore)
[API Documentation]({{apiDocsUrl}}#/Stores/DeleteStore)

> Requires a client initialized with a storeId

Expand Down
8 changes: 4 additions & 4 deletions config/clients/python/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Get a paginated list of stores.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/ListStores)
[API Documentation]({{apiDocsUrl}}#/Stores/ListStores)

```python
# from {{packageName}}.sync import OpenFgaClient
Expand All @@ -23,7 +23,7 @@ response = await fga_client.list_stores(options)

Create and initialize a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/CreateStore)
[API Documentation]({{apiDocsUrl}}#/Stores/CreateStore)

```python
# from {{packageName}} import CreateStoreRequest, OpenFgaClient
Expand All @@ -43,7 +43,7 @@ response = await fga_client.create_store(body)

Get information about the current store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/GetStore)
[API Documentation]({{apiDocsUrl}}#/Stores/GetStore)

> Requires a client initialized with a storeId

Expand All @@ -62,7 +62,7 @@ response = await fga_client.get_store()

Delete a store.

[API Documentation]({{apiDocsUrl}}/docs/api#/Stores/DeleteStore)
[API Documentation]({{apiDocsUrl}}#/Stores/DeleteStore)

> Requires a client initialized with a storeId

Expand Down
Loading