Skip to content

Commit

Permalink
fix: update Stores links (#422)
Browse files Browse the repository at this point in the history
ewanharris authored Oct 4, 2024
2 parents 153a2b6 + 45211fc commit bac5562
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
@@ -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 {
@@ -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"})
@@ -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

@@ -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

8 changes: 4 additions & 4 deletions config/clients/go/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
@@ -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{
@@ -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"}
@@ -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{
@@ -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{
8 changes: 4 additions & 4 deletions config/clients/java/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
@@ -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.

@@ -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.

@@ -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

@@ -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

8 changes: 4 additions & 4 deletions config/clients/python/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
@@ -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
@@ -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
@@ -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

@@ -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

0 comments on commit bac5562

Please sign in to comment.