sdk-generator
sdk-generator copied to clipboard
OpenFGA Client SDK Generator
For example [here](https://github.com/openfga/sdk-generator/blob/main/config/clients/dotnet/template/README_calling_api.mustache#L336) in the .NET SDK ```csharp var body = new ClientCheckRequest { User = "user:81684243-9356-4421-8fbf-a4f8d36aa31b", Relation = "writer", Object = "document:roadmap" }; ``` can be written as: ```csharp...
## Description I have reduced the default retry behavior from 15 retries to 3 as requested in issue #417 ## References closes #417 ## Review Checklist - [x] I have...
## Description For clients using OAuth2 credentials, the token endpoint is currently hardcoded in all SDKs (with `/oauth/token` value). Could it be possible to make it configurable? Or even better...
### Checklist - [X] I agree to the terms within the [OpenFGA Code of Conduct](https://github.com/openfga/.github/blob/main/CODE_OF_CONDUCT.md). ### Describe the problem you'd like to have solved Right now, the metrics we emit...
This pull request introduces the `_parse_issuer` function, enhancing the validation and normalization of issuer URLs for OAuth token requests. It ensures URLs adhere to standards by verifying schemes and appending...
### Checklist - [X] I have looked into the [README](https://github.com/openfga/sdk-generator/blob/main/README.md) and have not found a suitable solution or answer. - [X] I have looked into the [documentation](https://openfga.dev/docs) and have not...
### Checklist - [X] I agree to the terms within the [OpenFGA Code of Conduct](https://github.com/openfga/.github/blob/main/CODE_OF_CONDUCT.md). ### Describe the problem you'd like to have solved As a consumer of the SDK,...
### Checklist - [X] I agree to the terms within the [OpenFGA Code of Conduct](https://github.com/openfga/.github/blob/main/CODE_OF_CONDUCT.md). ### Describe the problem you'd like to have solved We should clarify in the documentation...
- [x] JS SDK - [ ] GO SDK - [ ] .NET SDK - [ ] Python SDK
## Description Breaking up the WriteAuthorizationModelRequest example in the README into smaller more understandable pieces. ## References [openfga/python-sdk#29](https://github.com/openfga/python-sdk/issues/29) ## Review Checklist - [x] I have clicked on ["allow edits by...