Skip to content

Commit

Permalink
fix: update Stores links
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Oct 1, 2024
1 parent 8509dbe commit 45211fc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
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

0 comments on commit 45211fc

Please sign in to comment.