Skip to content

Commit c9163dd

Browse files
authored
feat: expose inner client to interact w/ the API (#176)
1 parent 2c42f8d commit c9163dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/dev/openfga/sdk/api/client/OpenFgaClient.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ public OpenFgaClient(ClientConfiguration configuration, ApiClient apiClient) thr
5454
* Utilities *
5555
*************/
5656

57+
/**
58+
* Returns the underlying low-level OpenFgaApi instance.
59+
*/
60+
public OpenFgaApi getApi() {
61+
return api;
62+
}
63+
5764
public void setStoreId(String storeId) {
5865
configuration.storeId(storeId);
5966
}

0 commit comments

Comments
 (0)