diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 388e4a21..c0c1e876 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -77,6 +77,7 @@ docs/TupleToUserset.md docs/TypeDefinition.md docs/TypeName.md docs/TypedWildcard.md +docs/UnauthenticatedResponse.md docs/UnprocessableContentErrorCode.md docs/UnprocessableContentMessageResponse.md docs/User.md @@ -244,6 +245,7 @@ src/main/java/dev/openfga/sdk/api/model/TupleToUserset.java src/main/java/dev/openfga/sdk/api/model/TypeDefinition.java src/main/java/dev/openfga/sdk/api/model/TypeName.java src/main/java/dev/openfga/sdk/api/model/TypedWildcard.java +src/main/java/dev/openfga/sdk/api/model/UnauthenticatedResponse.java src/main/java/dev/openfga/sdk/api/model/UnprocessableContentErrorCode.java src/main/java/dev/openfga/sdk/api/model/UnprocessableContentMessageResponse.java src/main/java/dev/openfga/sdk/api/model/User.java diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e651a7d..8478b100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v0.4.2 + +### [0.4.2](https://github.com/openfga/java-sdk/compare/v0.4.1...v0.4.2) (2024-05-02) + +- feat: support the [ListUsers](https://github.com/openfga/rfcs/blob/main/20231214-listUsers-api.md) endpoint (#80) +- fix: improve check for validity of token (#76) + ## v0.4.1 ### [0.4.1](https://github.com/openfga/java-sdk/compare/v0.4.0...v0.4.1) (2024-04-09) diff --git a/README.md b/README.md index af94ea06..8ee4462e 100644 --- a/README.md +++ b/README.md @@ -76,13 +76,13 @@ It can be used with the following: * Gradle (Groovy) ```groovy -implementation 'dev.openfga:openfga-sdk:0.4.1' +implementation 'dev.openfga:openfga-sdk:0.4.2' ``` * Gradle (Kotlin) ```kotlin -implementation("dev.openfga:openfga-sdk:0.4.1") +implementation("dev.openfga:openfga-sdk:0.4.2") ``` * Apache Maven @@ -91,26 +91,26 @@ implementation("dev.openfga:openfga-sdk:0.4.1") dev.openfga openfga-sdk - 0.4.1 + 0.4.2 ``` * Ivy ```xml - + ``` * SBT ```scala -libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.4.1" +libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.4.2" ``` * Leiningen ```edn -[dev.openfga/openfga-sdk "0.4.1"] +[dev.openfga/openfga-sdk "0.4.2"] ``` @@ -888,7 +888,7 @@ public class Example { | [**getStore**](docs/OpenFgaApi.md#getstore) | **GET** /stores/{store_id} | Get a store | | [**listObjects**](docs/OpenFgaApi.md#listobjects) | **POST** /stores/{store_id}/list-objects | List all objects of the given type that the user has a relation with | | [**listStores**](docs/OpenFgaApi.md#liststores) | **GET** /stores | List all stores | -| [**listUsers**](docs/OpenFgaApi.md#listusers) | **POST** /stores/{store_id}/list-users | List the users matching the provided filter who have a certain relation to a particular type. | +| [**listUsers**](docs/OpenFgaApi.md#listusers) | **POST** /stores/{store_id}/list-users | [EXPERIMENTAL] List the users matching the provided filter who have a certain relation to a particular type. | | [**read**](docs/OpenFgaApi.md#read) | **POST** /stores/{store_id}/read | Get tuples from the store that matches a query, without following userset rewrite rules | | [**readAssertions**](docs/OpenFgaApi.md#readassertions) | **GET** /stores/{store_id}/assertions/{authorization_model_id} | Read assertions for an authorization model ID | | [**readAuthorizationModel**](docs/OpenFgaApi.md#readauthorizationmodel) | **GET** /stores/{store_id}/authorization-models/{id} | Return a particular version of an authorization model | @@ -1023,6 +1023,8 @@ public class Example { - [TypedWildcard](https://github.com/openfga/java-sdk/blob/main/docs/TypedWildcard.md) +- [UnauthenticatedResponse](https://github.com/openfga/java-sdk/blob/main/docs/UnauthenticatedResponse.md) + - [UnprocessableContentErrorCode](https://github.com/openfga/java-sdk/blob/main/docs/UnprocessableContentErrorCode.md) - [UnprocessableContentMessageResponse](https://github.com/openfga/java-sdk/blob/main/docs/UnprocessableContentMessageResponse.md) diff --git a/build.gradle b/build.gradle index 128aed8c..93205946 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ plugins { apply from: 'publish.gradle' group = 'dev.openfga' -version = '0.4.1' +version = '0.4.2' repositories { mavenCentral() diff --git a/docs/OpenFgaApi.md b/docs/OpenFgaApi.md index 52c51382..c98f138d 100644 --- a/docs/OpenFgaApi.md +++ b/docs/OpenFgaApi.md @@ -18,8 +18,8 @@ All URIs are relative to *http://localhost* | [**listObjectsWithHttpInfo**](OpenFgaApi.md#listObjectsWithHttpInfo) | **POST** /stores/{store_id}/list-objects | List all objects of the given type that the user has a relation with | | [**listStores**](OpenFgaApi.md#listStores) | **GET** /stores | List all stores | | [**listStoresWithHttpInfo**](OpenFgaApi.md#listStoresWithHttpInfo) | **GET** /stores | List all stores | -| [**listUsers**](OpenFgaApi.md#listUsers) | **POST** /stores/{store_id}/list-users | List the users matching the provided filter who have a certain relation to a particular type. | -| [**listUsersWithHttpInfo**](OpenFgaApi.md#listUsersWithHttpInfo) | **POST** /stores/{store_id}/list-users | List the users matching the provided filter who have a certain relation to a particular type. | +| [**listUsers**](OpenFgaApi.md#listUsers) | **POST** /stores/{store_id}/list-users | [EXPERIMENTAL] List the users matching the provided filter who have a certain relation to a particular type. | +| [**listUsersWithHttpInfo**](OpenFgaApi.md#listUsersWithHttpInfo) | **POST** /stores/{store_id}/list-users | [EXPERIMENTAL] List the users matching the provided filter who have a certain relation to a particular type. | | [**read**](OpenFgaApi.md#read) | **POST** /stores/{store_id}/read | Get tuples from the store that matches a query, without following userset rewrite rules | | [**readWithHttpInfo**](OpenFgaApi.md#readWithHttpInfo) | **POST** /stores/{store_id}/read | Get tuples from the store that matches a query, without following userset rewrite rules | | [**readAssertions**](OpenFgaApi.md#readAssertions) | **GET** /stores/{store_id}/assertions/{authorization_model_id} | Read assertions for an authorization model ID | @@ -45,7 +45,7 @@ All URIs are relative to *http://localhost* Check whether a user is authorized to access an object -The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with exclusion in the model A Check for a userset can yield results that must be treated carefully if the model involves exclusion. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. +The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with difference in the model A Check for a userset can yield results that must be treated carefully if the model involves difference. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. ### Example @@ -107,6 +107,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -118,7 +119,7 @@ No authorization required Check whether a user is authorized to access an object -The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with exclusion in the model A Check for a userset can yield results that must be treated carefully if the model involves exclusion. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. +The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with difference in the model A Check for a userset can yield results that must be treated carefully if the model involves difference. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. ### Example @@ -190,6 +191,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -262,6 +264,7 @@ No authorization required |-------------|-------------|------------------| | **201** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -343,6 +346,7 @@ No authorization required |-------------|-------------|------------------| | **201** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -414,6 +418,7 @@ No authorization required |-------------|-------------|------------------| | **204** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -494,6 +499,7 @@ No authorization required |-------------|-------------|------------------| | **204** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -568,6 +574,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -651,6 +658,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -723,6 +731,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -804,6 +813,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -878,6 +888,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -961,6 +972,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1035,6 +1047,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1118,6 +1131,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1128,7 +1142,7 @@ No authorization required > CompletableFuture listUsers(storeId, body) -List the users matching the provided filter who have a certain relation to a particular type. +[EXPERIMENTAL] List the users matching the provided filter who have a certain relation to a particular type. The ListUsers API returns a list of all the users of a specific type that have a relation to a given object. This API is available in an experimental capacity and can be enabled with the `--experimentals enable-list-users` flag. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). An `authorization_model_id` may be specified in the body. If it is not specified, the latest authorization model ID will be used. It is strongly recommended to specify authorization model id for better performance. You may also specify `contextual_tuples` that will be treated as regular tuples. Each of these tuples may have an associated `condition`. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will contain the related users in an array in the \"users\" field of the response. These results may include specific objects, usersets or type-bound public access. Each of these types of results is encoded in its own type and not represented as a string.In certain cases of negation via the `but not` operator, some results are marked as excluded from the main set of results. These exclusions are returned in the `excluded_users` property and should be handled appropriately at the point of implementation.The number of users in the response array will be limited by the execution timeout specified in the flag OPENFGA_LIST_USERS_DEADLINE and by the upper bound specified in the flag OPENFGA_LIST_USERS_MAX_RESULTS, whichever is hit first. The returned users will not be sorted, and therefore two identical calls may yield different sets of users. @@ -1192,6 +1206,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1201,7 +1216,7 @@ No authorization required > CompletableFuture> listUsers listUsersWithHttpInfo(storeId, body) -List the users matching the provided filter who have a certain relation to a particular type. +[EXPERIMENTAL] List the users matching the provided filter who have a certain relation to a particular type. The ListUsers API returns a list of all the users of a specific type that have a relation to a given object. This API is available in an experimental capacity and can be enabled with the `--experimentals enable-list-users` flag. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). An `authorization_model_id` may be specified in the body. If it is not specified, the latest authorization model ID will be used. It is strongly recommended to specify authorization model id for better performance. You may also specify `contextual_tuples` that will be treated as regular tuples. Each of these tuples may have an associated `condition`. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will contain the related users in an array in the \"users\" field of the response. These results may include specific objects, usersets or type-bound public access. Each of these types of results is encoded in its own type and not represented as a string.In certain cases of negation via the `but not` operator, some results are marked as excluded from the main set of results. These exclusions are returned in the `excluded_users` property and should be handled appropriately at the point of implementation.The number of users in the response array will be limited by the execution timeout specified in the flag OPENFGA_LIST_USERS_DEADLINE and by the upper bound specified in the flag OPENFGA_LIST_USERS_MAX_RESULTS, whichever is hit first. The returned users will not be sorted, and therefore two identical calls may yield different sets of users. @@ -1275,6 +1290,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1349,6 +1365,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1432,6 +1449,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1506,6 +1524,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1589,6 +1608,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1663,6 +1683,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1746,6 +1767,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1822,6 +1844,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1907,6 +1930,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -1985,6 +2009,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -2072,6 +2097,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -2146,6 +2172,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -2229,6 +2256,7 @@ No authorization required |-------------|-------------|------------------| | **200** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -2304,6 +2332,7 @@ No authorization required |-------------|-------------|------------------| | **204** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -2388,6 +2417,7 @@ No authorization required |-------------|-------------|------------------| | **204** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -2462,6 +2492,7 @@ No authorization required |-------------|-------------|------------------| | **201** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | @@ -2545,6 +2576,7 @@ No authorization required |-------------|-------------|------------------| | **201** | A successful response. | - | | **400** | Request failed due to invalid input. | - | +| **401** | Not authenticated. | - | | **404** | Request failed due to incorrect path. | - | | **409** | Request was aborted due a transaction conflict. | - | | **422** | Request timed out due to excessive request throttling. | - | diff --git a/docs/UnauthenticatedResponse.md b/docs/UnauthenticatedResponse.md new file mode 100644 index 00000000..fdce248a --- /dev/null +++ b/docs/UnauthenticatedResponse.md @@ -0,0 +1,14 @@ + + +# UnauthenticatedResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | **ErrorCode** | | [optional] | +|**message** | **String** | | [optional] | + + + diff --git a/publish.gradle b/publish.gradle index 8d51442b..2f486d0a 100644 --- a/publish.gradle +++ b/publish.gradle @@ -6,7 +6,7 @@ publishing { pom { group = 'dev.openfga' name = 'openfga-sdk' - version = '0.4.1' + version = '0.4.2' description = 'This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).' url = 'https://openfga.dev' licenses { diff --git a/src/main/java/dev/openfga/sdk/api/OpenFgaApi.java b/src/main/java/dev/openfga/sdk/api/OpenFgaApi.java index ae2ed84e..c4fc5554 100644 --- a/src/main/java/dev/openfga/sdk/api/OpenFgaApi.java +++ b/src/main/java/dev/openfga/sdk/api/OpenFgaApi.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -83,7 +83,7 @@ public OpenFgaApi(Configuration configuration, ApiClient apiClient) throws FgaIn /** * Check whether a user is authorized to access an object - * The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with exclusion in the model A Check for a userset can yield results that must be treated carefully if the model involves exclusion. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. + * The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with difference in the model A Check for a userset can yield results that must be treated carefully if the model involves difference. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. * @param storeId (required) * @param body (required) * @return CompletableFuture<ApiResponse<CheckResponse>> @@ -96,7 +96,7 @@ public CompletableFuture> check(String storeId, Check /** * Check whether a user is authorized to access an object - * The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with exclusion in the model A Check for a userset can yield results that must be treated carefully if the model involves exclusion. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. + * The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ``` the Check API can be used with the following request body: ```json { \"tuple_key\": { \"user\": \"user:anne\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"time_slot:office_hours\" } ] }, \"authorization_model_id\": \"01G50QVV17PECNVAHX1GG4Y5NC\" } ``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model schema 1.1 type user type document relations define reader: [user] ``` the following query ```json { \"tuple_key\": { \"user\": \"document:2021-budget#reader\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" } } ``` will always return `{ \"allowed\": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with difference in the model A Check for a userset can yield results that must be treated carefully if the model involves difference. For example, for the following authorization model ```python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked ``` the following query ```json { \"tuple_key\": { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, \"contextual_tuples\": { \"tuple_keys\": [ { \"user\": \"user:anne\", \"relation\": \"member\", \"object\": \"group:finance\" }, { \"user\": \"group:finance#member\", \"relation\": \"reader\", \"object\": \"document:2021-budget\" }, { \"user\": \"user:anne\", \"relation\": \"blocked\", \"object\": \"document:2021-budget\" } ] }, } ``` will return `{ \"allowed\": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. * @param storeId (required) * @param body (required) * @param configurationOverride Override the {@link Configuration} this OpenFgaApi was constructed with @@ -392,7 +392,7 @@ private CompletableFuture> listStores( } /** - * List the users matching the provided filter who have a certain relation to a particular type. + * [EXPERIMENTAL] List the users matching the provided filter who have a certain relation to a particular type. * The ListUsers API returns a list of all the users of a specific type that have a relation to a given object. This API is available in an experimental capacity and can be enabled with the `--experimentals enable-list-users` flag. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). An `authorization_model_id` may be specified in the body. If it is not specified, the latest authorization model ID will be used. It is strongly recommended to specify authorization model id for better performance. You may also specify `contextual_tuples` that will be treated as regular tuples. Each of these tuples may have an associated `condition`. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will contain the related users in an array in the \"users\" field of the response. These results may include specific objects, usersets or type-bound public access. Each of these types of results is encoded in its own type and not represented as a string.In certain cases of negation via the `but not` operator, some results are marked as excluded from the main set of results. These exclusions are returned in the `excluded_users` property and should be handled appropriately at the point of implementation.The number of users in the response array will be limited by the execution timeout specified in the flag OPENFGA_LIST_USERS_DEADLINE and by the upper bound specified in the flag OPENFGA_LIST_USERS_MAX_RESULTS, whichever is hit first. The returned users will not be sorted, and therefore two identical calls may yield different sets of users. * @param storeId (required) * @param body (required) @@ -405,7 +405,7 @@ public CompletableFuture> listUsers(String storeI } /** - * List the users matching the provided filter who have a certain relation to a particular type. + * [EXPERIMENTAL] List the users matching the provided filter who have a certain relation to a particular type. * The ListUsers API returns a list of all the users of a specific type that have a relation to a given object. This API is available in an experimental capacity and can be enabled with the `--experimentals enable-list-users` flag. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). An `authorization_model_id` may be specified in the body. If it is not specified, the latest authorization model ID will be used. It is strongly recommended to specify authorization model id for better performance. You may also specify `contextual_tuples` that will be treated as regular tuples. Each of these tuples may have an associated `condition`. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will contain the related users in an array in the \"users\" field of the response. These results may include specific objects, usersets or type-bound public access. Each of these types of results is encoded in its own type and not represented as a string.In certain cases of negation via the `but not` operator, some results are marked as excluded from the main set of results. These exclusions are returned in the `excluded_users` property and should be handled appropriately at the point of implementation.The number of users in the response array will be limited by the execution timeout specified in the flag OPENFGA_LIST_USERS_DEADLINE and by the upper bound specified in the flag OPENFGA_LIST_USERS_MAX_RESULTS, whichever is hit first. The returned users will not be sorted, and therefore two identical calls may yield different sets of users. * @param storeId (required) * @param body (required) diff --git a/src/main/java/dev/openfga/sdk/api/auth/AccessToken.java b/src/main/java/dev/openfga/sdk/api/auth/AccessToken.java index cddab41d..8cf4f5b3 100644 --- a/src/main/java/dev/openfga/sdk/api/auth/AccessToken.java +++ b/src/main/java/dev/openfga/sdk/api/auth/AccessToken.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowRequest.java b/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowRequest.java index db6ce0c6..5f45cf84 100644 --- a/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowRequest.java +++ b/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowResponse.java b/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowResponse.java index d9375eef..9197f1d5 100644 --- a/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowResponse.java +++ b/src/main/java/dev/openfga/sdk/api/auth/CredentialsFlowResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/auth/OAuth2Client.java b/src/main/java/dev/openfga/sdk/api/auth/OAuth2Client.java index 84522d21..89029736 100644 --- a/src/main/java/dev/openfga/sdk/api/auth/OAuth2Client.java +++ b/src/main/java/dev/openfga/sdk/api/auth/OAuth2Client.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/ApiClient.java b/src/main/java/dev/openfga/sdk/api/client/ApiClient.java index 105e02a8..85063a08 100644 --- a/src/main/java/dev/openfga/sdk/api/client/ApiClient.java +++ b/src/main/java/dev/openfga/sdk/api/client/ApiClient.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/ApiResponse.java b/src/main/java/dev/openfga/sdk/api/client/ApiResponse.java index 8827ec53..94c1f6f9 100644 --- a/src/main/java/dev/openfga/sdk/api/client/ApiResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/ApiResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/ClientAssertion.java b/src/main/java/dev/openfga/sdk/api/client/ClientAssertion.java index 527f8d3b..0f4584e2 100644 --- a/src/main/java/dev/openfga/sdk/api/client/ClientAssertion.java +++ b/src/main/java/dev/openfga/sdk/api/client/ClientAssertion.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/OpenFgaClient.java b/src/main/java/dev/openfga/sdk/api/client/OpenFgaClient.java index 1ab2a063..3f357f0c 100644 --- a/src/main/java/dev/openfga/sdk/api/client/OpenFgaClient.java +++ b/src/main/java/dev/openfga/sdk/api/client/OpenFgaClient.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientBatchCheckResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientBatchCheckResponse.java index 24259089..dfc4661d 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientBatchCheckResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientBatchCheckResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckRequest.java index 5563896d..bbdb5e93 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckResponse.java index b5662a25..778465d8 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientCheckResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientCreateStoreResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientCreateStoreResponse.java index 5d3647ad..052805b0 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientCreateStoreResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientCreateStoreResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientDeleteStoreResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientDeleteStoreResponse.java index eae9117a..27952ec0 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientDeleteStoreResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientDeleteStoreResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandRequest.java index b945481c..06ab970d 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandResponse.java index 54eb9e9c..7e461a79 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientExpandResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientGetStoreResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientGetStoreResponse.java index 082ea949..ba1cc7b9 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientGetStoreResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientGetStoreResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsRequest.java index 30dcd981..5f98057c 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsResponse.java index 68db3175..3e01bf35 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientListObjectsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsRequest.java index e1fba807..bcd9e384 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsResponse.java index cd4b79cf..cb3fb076 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientListRelationsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientListStoresResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientListStoresResponse.java index 8d209a45..c7270831 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientListStoresResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientListStoresResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersRequest.java index 33b5dd6d..7e6a29fc 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersResponse.java index 151d7a3b..9288588f 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientListUsersResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAssertionsResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAssertionsResponse.java index 710fa500..4d5d6810 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAssertionsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAssertionsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelResponse.java index a7abb723..844d382c 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelsResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelsResponse.java index caa85801..468a0736 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadAuthorizationModelsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesRequest.java index be49d9e3..3bb14d74 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesResponse.java index 6087f281..f7333043 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadChangesResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadRequest.java index f933f594..5fc2de58 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadResponse.java index dac98c93..4ed4af3e 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientReadResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientReadResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientRelationshipCondition.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientRelationshipCondition.java index af019345..ebc1a88a 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientRelationshipCondition.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientRelationshipCondition.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKey.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKey.java index b944176b..dc7269ca 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKey.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKey.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKeyWithoutCondition.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKeyWithoutCondition.java index a891103b..c7b2c389 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKeyWithoutCondition.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientTupleKeyWithoutCondition.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAssertionsResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAssertionsResponse.java index 704a8cc1..95bf7a1d 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAssertionsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAssertionsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAuthorizationModelResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAuthorizationModelResponse.java index 4678c87f..133c84ad 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAuthorizationModelResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteAuthorizationModelResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteRequest.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteRequest.java index a5becff3..12cbe13b 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteRequest.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteResponse.java b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteResponse.java index aea47b14..505a5730 100644 --- a/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteResponse.java +++ b/src/main/java/dev/openfga/sdk/api/client/model/ClientWriteResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/AdditionalHeadersSupplier.java b/src/main/java/dev/openfga/sdk/api/configuration/AdditionalHeadersSupplier.java index c500d721..5913d16b 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/AdditionalHeadersSupplier.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/AdditionalHeadersSupplier.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ApiToken.java b/src/main/java/dev/openfga/sdk/api/configuration/ApiToken.java index 7b3c66a2..8e7d94d8 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ApiToken.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ApiToken.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/BaseConfiguration.java b/src/main/java/dev/openfga/sdk/api/configuration/BaseConfiguration.java index d302294a..aa94ed4c 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/BaseConfiguration.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/BaseConfiguration.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientBatchCheckOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientBatchCheckOptions.java index 5ba3f3dc..b86e9837 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientBatchCheckOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientBatchCheckOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientCheckOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientCheckOptions.java index 1b0e3747..38202413 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientCheckOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientCheckOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientConfiguration.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientConfiguration.java index 51bbd5bd..51e71499 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientConfiguration.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientConfiguration.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientCreateStoreOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientCreateStoreOptions.java index 363ee222..b4420467 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientCreateStoreOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientCreateStoreOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientCredentials.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientCredentials.java index e4e68de0..d3127742 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientCredentials.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientCredentials.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteStoreOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteStoreOptions.java index 2776b6d1..8ef1c54b 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteStoreOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteStoreOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteTuplesOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteTuplesOptions.java index de548cd5..1efc2d89 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteTuplesOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientDeleteTuplesOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientExpandOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientExpandOptions.java index 5b3487da..ef1448da 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientExpandOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientExpandOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientGetStoreOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientGetStoreOptions.java index c8adf6e3..c18e5121 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientGetStoreOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientGetStoreOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientListObjectsOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientListObjectsOptions.java index 1d51072b..4ac1615c 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientListObjectsOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientListObjectsOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientListRelationsOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientListRelationsOptions.java index 6d9cc2dc..3abde9da 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientListRelationsOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientListRelationsOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientListStoresOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientListStoresOptions.java index d427a538..81f6c377 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientListStoresOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientListStoresOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientListUsersOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientListUsersOptions.java index 6e48a69e..51783d6a 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientListUsersOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientListUsersOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAssertionsOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAssertionsOptions.java index c02ec030..f0a8cd24 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAssertionsOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAssertionsOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelOptions.java index e1716a98..abac5db8 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelsOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelsOptions.java index f4c81d69..69bb3f28 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelsOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadAuthorizationModelsOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadChangesOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadChangesOptions.java index 23213866..8eb84eba 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadChangesOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadChangesOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadLatestAuthorizationModelOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadLatestAuthorizationModelOptions.java index 2f963517..0485ac40 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadLatestAuthorizationModelOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadLatestAuthorizationModelOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadOptions.java index 3daff2ac..b13cb44b 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientReadOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientReadOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAssertionsOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAssertionsOptions.java index ac88c7ff..157644fe 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAssertionsOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAssertionsOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAuthorizationModelOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAuthorizationModelOptions.java index a6b56f9c..0f1a9b6d 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAuthorizationModelOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteAuthorizationModelOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteOptions.java index 0400e35e..b874d815 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteTuplesOptions.java b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteTuplesOptions.java index 1dca6794..dae7dd58 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteTuplesOptions.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ClientWriteTuplesOptions.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java b/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java index 043800d0..022943b4 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,10 +30,10 @@ * Configurations for an api client. */ public class Configuration implements BaseConfiguration { - public static final String VERSION = "0.4.1"; + public static final String VERSION = "0.4.2"; private static final String DEFAULT_API_URL = "http://localhost:8080"; - private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.1"; + private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.2"; private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10); private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10); diff --git a/src/main/java/dev/openfga/sdk/api/configuration/ConfigurationOverride.java b/src/main/java/dev/openfga/sdk/api/configuration/ConfigurationOverride.java index ba7e5ae1..0f06a523 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/ConfigurationOverride.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/ConfigurationOverride.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/Credentials.java b/src/main/java/dev/openfga/sdk/api/configuration/Credentials.java index f9ddde24..79854121 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/Credentials.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/Credentials.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/configuration/CredentialsMethod.java b/src/main/java/dev/openfga/sdk/api/configuration/CredentialsMethod.java index 5001ad38..71a78a27 100644 --- a/src/main/java/dev/openfga/sdk/api/configuration/CredentialsMethod.java +++ b/src/main/java/dev/openfga/sdk/api/configuration/CredentialsMethod.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/AbortedMessageResponse.java b/src/main/java/dev/openfga/sdk/api/model/AbortedMessageResponse.java index 90527a97..9d982e5c 100644 --- a/src/main/java/dev/openfga/sdk/api/model/AbortedMessageResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/AbortedMessageResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/AbstractOpenApiSchema.java b/src/main/java/dev/openfga/sdk/api/model/AbstractOpenApiSchema.java index 9ade8b9e..79be0d71 100644 --- a/src/main/java/dev/openfga/sdk/api/model/AbstractOpenApiSchema.java +++ b/src/main/java/dev/openfga/sdk/api/model/AbstractOpenApiSchema.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Any.java b/src/main/java/dev/openfga/sdk/api/model/Any.java index 3c22d9a2..9b50bfae 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Any.java +++ b/src/main/java/dev/openfga/sdk/api/model/Any.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Assertion.java b/src/main/java/dev/openfga/sdk/api/model/Assertion.java index e68236fa..621abccb 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Assertion.java +++ b/src/main/java/dev/openfga/sdk/api/model/Assertion.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/AssertionTupleKey.java b/src/main/java/dev/openfga/sdk/api/model/AssertionTupleKey.java index 8869d9c3..6a568415 100644 --- a/src/main/java/dev/openfga/sdk/api/model/AssertionTupleKey.java +++ b/src/main/java/dev/openfga/sdk/api/model/AssertionTupleKey.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/AuthorizationModel.java b/src/main/java/dev/openfga/sdk/api/model/AuthorizationModel.java index d85cafd6..7b2791d1 100644 --- a/src/main/java/dev/openfga/sdk/api/model/AuthorizationModel.java +++ b/src/main/java/dev/openfga/sdk/api/model/AuthorizationModel.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/CheckRequest.java b/src/main/java/dev/openfga/sdk/api/model/CheckRequest.java index f01b5b7c..a09c1507 100644 --- a/src/main/java/dev/openfga/sdk/api/model/CheckRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/CheckRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/CheckRequestTupleKey.java b/src/main/java/dev/openfga/sdk/api/model/CheckRequestTupleKey.java index cd2e6379..31b88a33 100644 --- a/src/main/java/dev/openfga/sdk/api/model/CheckRequestTupleKey.java +++ b/src/main/java/dev/openfga/sdk/api/model/CheckRequestTupleKey.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/CheckResponse.java b/src/main/java/dev/openfga/sdk/api/model/CheckResponse.java index 391943c7..84f283d4 100644 --- a/src/main/java/dev/openfga/sdk/api/model/CheckResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/CheckResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Computed.java b/src/main/java/dev/openfga/sdk/api/model/Computed.java index 042449b4..b218cdbc 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Computed.java +++ b/src/main/java/dev/openfga/sdk/api/model/Computed.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Condition.java b/src/main/java/dev/openfga/sdk/api/model/Condition.java index 6e392581..cac7e874 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Condition.java +++ b/src/main/java/dev/openfga/sdk/api/model/Condition.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ConditionMetadata.java b/src/main/java/dev/openfga/sdk/api/model/ConditionMetadata.java index 92ae71ce..92870ad6 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ConditionMetadata.java +++ b/src/main/java/dev/openfga/sdk/api/model/ConditionMetadata.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ConditionParamTypeRef.java b/src/main/java/dev/openfga/sdk/api/model/ConditionParamTypeRef.java index e4a113d3..44cb6f4e 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ConditionParamTypeRef.java +++ b/src/main/java/dev/openfga/sdk/api/model/ConditionParamTypeRef.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ContextualTupleKeys.java b/src/main/java/dev/openfga/sdk/api/model/ContextualTupleKeys.java index 827e148b..706e8b16 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ContextualTupleKeys.java +++ b/src/main/java/dev/openfga/sdk/api/model/ContextualTupleKeys.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/CreateStoreRequest.java b/src/main/java/dev/openfga/sdk/api/model/CreateStoreRequest.java index 67cd6d4c..1ef493ad 100644 --- a/src/main/java/dev/openfga/sdk/api/model/CreateStoreRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/CreateStoreRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/CreateStoreResponse.java b/src/main/java/dev/openfga/sdk/api/model/CreateStoreResponse.java index d1c6af41..8477b39e 100644 --- a/src/main/java/dev/openfga/sdk/api/model/CreateStoreResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/CreateStoreResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Difference.java b/src/main/java/dev/openfga/sdk/api/model/Difference.java index bf3ea0dc..cdb71675 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Difference.java +++ b/src/main/java/dev/openfga/sdk/api/model/Difference.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ErrorCode.java b/src/main/java/dev/openfga/sdk/api/model/ErrorCode.java index 4c1a2356..dd021a2e 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ErrorCode.java +++ b/src/main/java/dev/openfga/sdk/api/model/ErrorCode.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ExpandRequest.java b/src/main/java/dev/openfga/sdk/api/model/ExpandRequest.java index 28203e8e..98f7548c 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ExpandRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/ExpandRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ExpandRequestTupleKey.java b/src/main/java/dev/openfga/sdk/api/model/ExpandRequestTupleKey.java index f2331451..a35b0ee2 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ExpandRequestTupleKey.java +++ b/src/main/java/dev/openfga/sdk/api/model/ExpandRequestTupleKey.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ExpandResponse.java b/src/main/java/dev/openfga/sdk/api/model/ExpandResponse.java index 40f5e64c..1d1cfe98 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ExpandResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ExpandResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/FgaObject.java b/src/main/java/dev/openfga/sdk/api/model/FgaObject.java index 3701829a..41b1d721 100644 --- a/src/main/java/dev/openfga/sdk/api/model/FgaObject.java +++ b/src/main/java/dev/openfga/sdk/api/model/FgaObject.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/GetStoreResponse.java b/src/main/java/dev/openfga/sdk/api/model/GetStoreResponse.java index fb6874c1..b9f79ce4 100644 --- a/src/main/java/dev/openfga/sdk/api/model/GetStoreResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/GetStoreResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/InternalErrorCode.java b/src/main/java/dev/openfga/sdk/api/model/InternalErrorCode.java index e0b5b0ef..b807b166 100644 --- a/src/main/java/dev/openfga/sdk/api/model/InternalErrorCode.java +++ b/src/main/java/dev/openfga/sdk/api/model/InternalErrorCode.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/InternalErrorMessageResponse.java b/src/main/java/dev/openfga/sdk/api/model/InternalErrorMessageResponse.java index 243584c8..92796e7b 100644 --- a/src/main/java/dev/openfga/sdk/api/model/InternalErrorMessageResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/InternalErrorMessageResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Leaf.java b/src/main/java/dev/openfga/sdk/api/model/Leaf.java index 1dda913a..7eb774d9 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Leaf.java +++ b/src/main/java/dev/openfga/sdk/api/model/Leaf.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ListObjectsRequest.java b/src/main/java/dev/openfga/sdk/api/model/ListObjectsRequest.java index 64090fe8..bccb0898 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ListObjectsRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/ListObjectsRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ListObjectsResponse.java b/src/main/java/dev/openfga/sdk/api/model/ListObjectsResponse.java index c7ad1c7a..3c5c953c 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ListObjectsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ListObjectsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ListStoresResponse.java b/src/main/java/dev/openfga/sdk/api/model/ListStoresResponse.java index 46722460..5fe0e862 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ListStoresResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ListStoresResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ListUsersRequest.java b/src/main/java/dev/openfga/sdk/api/model/ListUsersRequest.java index f9c79476..ecca3417 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ListUsersRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/ListUsersRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ListUsersResponse.java b/src/main/java/dev/openfga/sdk/api/model/ListUsersResponse.java index 9d3ce2bc..ac4d7328 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ListUsersResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ListUsersResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Metadata.java b/src/main/java/dev/openfga/sdk/api/model/Metadata.java index 084967a7..64e8a607 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Metadata.java +++ b/src/main/java/dev/openfga/sdk/api/model/Metadata.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Node.java b/src/main/java/dev/openfga/sdk/api/model/Node.java index 29f903cb..9684ab23 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Node.java +++ b/src/main/java/dev/openfga/sdk/api/model/Node.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Nodes.java b/src/main/java/dev/openfga/sdk/api/model/Nodes.java index 2dba8ddf..abae648c 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Nodes.java +++ b/src/main/java/dev/openfga/sdk/api/model/Nodes.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/NotFoundErrorCode.java b/src/main/java/dev/openfga/sdk/api/model/NotFoundErrorCode.java index d6cfdab3..1b583b93 100644 --- a/src/main/java/dev/openfga/sdk/api/model/NotFoundErrorCode.java +++ b/src/main/java/dev/openfga/sdk/api/model/NotFoundErrorCode.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/NullValue.java b/src/main/java/dev/openfga/sdk/api/model/NullValue.java index d2718bf1..87e7569c 100644 --- a/src/main/java/dev/openfga/sdk/api/model/NullValue.java +++ b/src/main/java/dev/openfga/sdk/api/model/NullValue.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ObjectOrUserset.java b/src/main/java/dev/openfga/sdk/api/model/ObjectOrUserset.java index 1a8bf07a..9f9e2c9d 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ObjectOrUserset.java +++ b/src/main/java/dev/openfga/sdk/api/model/ObjectOrUserset.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ObjectRelation.java b/src/main/java/dev/openfga/sdk/api/model/ObjectRelation.java index 8b4e40fc..bfc78de6 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ObjectRelation.java +++ b/src/main/java/dev/openfga/sdk/api/model/ObjectRelation.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/PathUnknownErrorMessageResponse.java b/src/main/java/dev/openfga/sdk/api/model/PathUnknownErrorMessageResponse.java index 0e390ed3..ec752e95 100644 --- a/src/main/java/dev/openfga/sdk/api/model/PathUnknownErrorMessageResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/PathUnknownErrorMessageResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ReadAssertionsResponse.java b/src/main/java/dev/openfga/sdk/api/model/ReadAssertionsResponse.java index e984d698..1d001fda 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ReadAssertionsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ReadAssertionsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelResponse.java b/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelResponse.java index a95f2fa6..bdd20d42 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelsResponse.java b/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelsResponse.java index 405e24c9..9d5cc774 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelsResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ReadAuthorizationModelsResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ReadChangesResponse.java b/src/main/java/dev/openfga/sdk/api/model/ReadChangesResponse.java index 525ca9f0..ad2357b3 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ReadChangesResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ReadChangesResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ReadRequest.java b/src/main/java/dev/openfga/sdk/api/model/ReadRequest.java index d3583ad8..85c2287b 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ReadRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/ReadRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ReadRequestTupleKey.java b/src/main/java/dev/openfga/sdk/api/model/ReadRequestTupleKey.java index bcc67a4b..43185fd2 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ReadRequestTupleKey.java +++ b/src/main/java/dev/openfga/sdk/api/model/ReadRequestTupleKey.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ReadResponse.java b/src/main/java/dev/openfga/sdk/api/model/ReadResponse.java index dfa095aa..c80e2ec5 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ReadResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ReadResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/RelationMetadata.java b/src/main/java/dev/openfga/sdk/api/model/RelationMetadata.java index 2be8f0a6..357da44a 100644 --- a/src/main/java/dev/openfga/sdk/api/model/RelationMetadata.java +++ b/src/main/java/dev/openfga/sdk/api/model/RelationMetadata.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/RelationReference.java b/src/main/java/dev/openfga/sdk/api/model/RelationReference.java index a322e160..281a4380 100644 --- a/src/main/java/dev/openfga/sdk/api/model/RelationReference.java +++ b/src/main/java/dev/openfga/sdk/api/model/RelationReference.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/RelationshipCondition.java b/src/main/java/dev/openfga/sdk/api/model/RelationshipCondition.java index e4a9f882..6e298210 100644 --- a/src/main/java/dev/openfga/sdk/api/model/RelationshipCondition.java +++ b/src/main/java/dev/openfga/sdk/api/model/RelationshipCondition.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/SourceInfo.java b/src/main/java/dev/openfga/sdk/api/model/SourceInfo.java index 96ddc167..c12e9653 100644 --- a/src/main/java/dev/openfga/sdk/api/model/SourceInfo.java +++ b/src/main/java/dev/openfga/sdk/api/model/SourceInfo.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Status.java b/src/main/java/dev/openfga/sdk/api/model/Status.java index 6da6bc3b..b62c83c0 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Status.java +++ b/src/main/java/dev/openfga/sdk/api/model/Status.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Store.java b/src/main/java/dev/openfga/sdk/api/model/Store.java index 8a99a7df..256c85ed 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Store.java +++ b/src/main/java/dev/openfga/sdk/api/model/Store.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Tuple.java b/src/main/java/dev/openfga/sdk/api/model/Tuple.java index 606559f2..c571902a 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Tuple.java +++ b/src/main/java/dev/openfga/sdk/api/model/Tuple.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TupleChange.java b/src/main/java/dev/openfga/sdk/api/model/TupleChange.java index 281858b5..4dd4a596 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TupleChange.java +++ b/src/main/java/dev/openfga/sdk/api/model/TupleChange.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TupleKey.java b/src/main/java/dev/openfga/sdk/api/model/TupleKey.java index bc4ed48e..79bcb43c 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TupleKey.java +++ b/src/main/java/dev/openfga/sdk/api/model/TupleKey.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TupleKeyWithoutCondition.java b/src/main/java/dev/openfga/sdk/api/model/TupleKeyWithoutCondition.java index e539ee66..4ab29f36 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TupleKeyWithoutCondition.java +++ b/src/main/java/dev/openfga/sdk/api/model/TupleKeyWithoutCondition.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TupleOperation.java b/src/main/java/dev/openfga/sdk/api/model/TupleOperation.java index b1025ffc..4f67d2f6 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TupleOperation.java +++ b/src/main/java/dev/openfga/sdk/api/model/TupleOperation.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TupleToUserset.java b/src/main/java/dev/openfga/sdk/api/model/TupleToUserset.java index 3245f44b..21634839 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TupleToUserset.java +++ b/src/main/java/dev/openfga/sdk/api/model/TupleToUserset.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TypeDefinition.java b/src/main/java/dev/openfga/sdk/api/model/TypeDefinition.java index de347a35..adb837a9 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TypeDefinition.java +++ b/src/main/java/dev/openfga/sdk/api/model/TypeDefinition.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TypeName.java b/src/main/java/dev/openfga/sdk/api/model/TypeName.java index 74f94baa..9a136266 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TypeName.java +++ b/src/main/java/dev/openfga/sdk/api/model/TypeName.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/TypedWildcard.java b/src/main/java/dev/openfga/sdk/api/model/TypedWildcard.java index 0c6e04e0..5ad1b9e9 100644 --- a/src/main/java/dev/openfga/sdk/api/model/TypedWildcard.java +++ b/src/main/java/dev/openfga/sdk/api/model/TypedWildcard.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/UnauthenticatedResponse.java b/src/main/java/dev/openfga/sdk/api/model/UnauthenticatedResponse.java new file mode 100644 index 00000000..b17dd5a7 --- /dev/null +++ b/src/main/java/dev/openfga/sdk/api/model/UnauthenticatedResponse.java @@ -0,0 +1,176 @@ +/* + * OpenFGA + * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. + * + * The version of the OpenAPI document: 1.x + * Contact: community@openfga.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package dev.openfga.sdk.api.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.Objects; +import java.util.StringJoiner; + +/** + * UnauthenticatedResponse + */ +@JsonPropertyOrder({UnauthenticatedResponse.JSON_PROPERTY_CODE, UnauthenticatedResponse.JSON_PROPERTY_MESSAGE}) +public class UnauthenticatedResponse { + public static final String JSON_PROPERTY_CODE = "code"; + private ErrorCode code = ErrorCode.NO_ERROR; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public UnauthenticatedResponse() {} + + public UnauthenticatedResponse code(ErrorCode code) { + this.code = code; + return this; + } + + /** + * Get code + * @return code + **/ + @javax.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ErrorCode getCode() { + return code; + } + + @JsonProperty(JSON_PROPERTY_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCode(ErrorCode code) { + this.code = code; + } + + public UnauthenticatedResponse message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getMessage() { + return message; + } + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + /** + * Return true if this UnauthenticatedResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnauthenticatedResponse unauthenticatedResponse = (UnauthenticatedResponse) o; + return Objects.equals(this.code, unauthenticatedResponse.code) + && Objects.equals(this.message, unauthenticatedResponse.message); + } + + @Override + public int hashCode() { + return Objects.hash(code, message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnauthenticatedResponse {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `code` to the URL query string + if (getCode() != null) { + joiner.add(String.format( + "%scode%s=%s", + prefix, + suffix, + URLEncoder.encode(String.valueOf(getCode()), StandardCharsets.UTF_8) + .replaceAll("\\+", "%20"))); + } + + // add `message` to the URL query string + if (getMessage() != null) { + joiner.add(String.format( + "%smessage%s=%s", + prefix, + suffix, + URLEncoder.encode(String.valueOf(getMessage()), StandardCharsets.UTF_8) + .replaceAll("\\+", "%20"))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentErrorCode.java b/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentErrorCode.java index eebd428a..594a12f9 100644 --- a/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentErrorCode.java +++ b/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentErrorCode.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentMessageResponse.java b/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentMessageResponse.java index 9b707911..d88c7c9a 100644 --- a/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentMessageResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/UnprocessableContentMessageResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/User.java b/src/main/java/dev/openfga/sdk/api/model/User.java index eaf20a16..a01863e6 100644 --- a/src/main/java/dev/openfga/sdk/api/model/User.java +++ b/src/main/java/dev/openfga/sdk/api/model/User.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/UserTypeFilter.java b/src/main/java/dev/openfga/sdk/api/model/UserTypeFilter.java index 3be5dc5a..060bef5b 100644 --- a/src/main/java/dev/openfga/sdk/api/model/UserTypeFilter.java +++ b/src/main/java/dev/openfga/sdk/api/model/UserTypeFilter.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Users.java b/src/main/java/dev/openfga/sdk/api/model/Users.java index d8a6d129..e1ca8810 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Users.java +++ b/src/main/java/dev/openfga/sdk/api/model/Users.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Userset.java b/src/main/java/dev/openfga/sdk/api/model/Userset.java index 44ca15aa..5b43807e 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Userset.java +++ b/src/main/java/dev/openfga/sdk/api/model/Userset.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/UsersetTree.java b/src/main/java/dev/openfga/sdk/api/model/UsersetTree.java index b56e4586..e9abe693 100644 --- a/src/main/java/dev/openfga/sdk/api/model/UsersetTree.java +++ b/src/main/java/dev/openfga/sdk/api/model/UsersetTree.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/UsersetTreeDifference.java b/src/main/java/dev/openfga/sdk/api/model/UsersetTreeDifference.java index f85115ff..1926b55e 100644 --- a/src/main/java/dev/openfga/sdk/api/model/UsersetTreeDifference.java +++ b/src/main/java/dev/openfga/sdk/api/model/UsersetTreeDifference.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/UsersetTreeTupleToUserset.java b/src/main/java/dev/openfga/sdk/api/model/UsersetTreeTupleToUserset.java index d73b4b1d..1cb11e50 100644 --- a/src/main/java/dev/openfga/sdk/api/model/UsersetTreeTupleToUserset.java +++ b/src/main/java/dev/openfga/sdk/api/model/UsersetTreeTupleToUserset.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/UsersetUser.java b/src/main/java/dev/openfga/sdk/api/model/UsersetUser.java index e2ae9015..90dd92cb 100644 --- a/src/main/java/dev/openfga/sdk/api/model/UsersetUser.java +++ b/src/main/java/dev/openfga/sdk/api/model/UsersetUser.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/Usersets.java b/src/main/java/dev/openfga/sdk/api/model/Usersets.java index 122f9d4e..41dcef07 100644 --- a/src/main/java/dev/openfga/sdk/api/model/Usersets.java +++ b/src/main/java/dev/openfga/sdk/api/model/Usersets.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/ValidationErrorMessageResponse.java b/src/main/java/dev/openfga/sdk/api/model/ValidationErrorMessageResponse.java index c598f063..a977f6bc 100644 --- a/src/main/java/dev/openfga/sdk/api/model/ValidationErrorMessageResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/ValidationErrorMessageResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/WriteAssertionsRequest.java b/src/main/java/dev/openfga/sdk/api/model/WriteAssertionsRequest.java index 5d923302..0e948dea 100644 --- a/src/main/java/dev/openfga/sdk/api/model/WriteAssertionsRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/WriteAssertionsRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelRequest.java b/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelRequest.java index 567c6f77..267716f0 100644 --- a/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelResponse.java b/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelResponse.java index a08e646a..27c18dea 100644 --- a/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelResponse.java +++ b/src/main/java/dev/openfga/sdk/api/model/WriteAuthorizationModelResponse.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/WriteRequest.java b/src/main/java/dev/openfga/sdk/api/model/WriteRequest.java index a5db9421..50174756 100644 --- a/src/main/java/dev/openfga/sdk/api/model/WriteRequest.java +++ b/src/main/java/dev/openfga/sdk/api/model/WriteRequest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/WriteRequestDeletes.java b/src/main/java/dev/openfga/sdk/api/model/WriteRequestDeletes.java index ccd80b0d..c58d55b2 100644 --- a/src/main/java/dev/openfga/sdk/api/model/WriteRequestDeletes.java +++ b/src/main/java/dev/openfga/sdk/api/model/WriteRequestDeletes.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/api/model/WriteRequestWrites.java b/src/main/java/dev/openfga/sdk/api/model/WriteRequestWrites.java index 5da9b6d5..8231b430 100644 --- a/src/main/java/dev/openfga/sdk/api/model/WriteRequestWrites.java +++ b/src/main/java/dev/openfga/sdk/api/model/WriteRequestWrites.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/errors/ApiException.java b/src/main/java/dev/openfga/sdk/errors/ApiException.java index 871d5167..27644c64 100644 --- a/src/main/java/dev/openfga/sdk/errors/ApiException.java +++ b/src/main/java/dev/openfga/sdk/errors/ApiException.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/util/Pair.java b/src/main/java/dev/openfga/sdk/util/Pair.java index 1d02263d..28e813fe 100644 --- a/src/main/java/dev/openfga/sdk/util/Pair.java +++ b/src/main/java/dev/openfga/sdk/util/Pair.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/util/StringUtil.java b/src/main/java/dev/openfga/sdk/util/StringUtil.java index b9e22677..ff9cbf70 100644 --- a/src/main/java/dev/openfga/sdk/util/StringUtil.java +++ b/src/main/java/dev/openfga/sdk/util/StringUtil.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/dev/openfga/sdk/util/Validation.java b/src/main/java/dev/openfga/sdk/util/Validation.java index 3cebc1ee..455e4042 100644 --- a/src/main/java/dev/openfga/sdk/util/Validation.java +++ b/src/main/java/dev/openfga/sdk/util/Validation.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test-integration/java/dev/openfga/sdk/api/OpenFgaApiIntegrationTest.java b/src/test-integration/java/dev/openfga/sdk/api/OpenFgaApiIntegrationTest.java index dd5cd109..a51568b0 100644 --- a/src/test-integration/java/dev/openfga/sdk/api/OpenFgaApiIntegrationTest.java +++ b/src/test-integration/java/dev/openfga/sdk/api/OpenFgaApiIntegrationTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test-integration/java/dev/openfga/sdk/api/client/OpenFgaClientIntegrationTest.java b/src/test-integration/java/dev/openfga/sdk/api/client/OpenFgaClientIntegrationTest.java index 8a8fa346..5e5f322c 100644 --- a/src/test-integration/java/dev/openfga/sdk/api/client/OpenFgaClientIntegrationTest.java +++ b/src/test-integration/java/dev/openfga/sdk/api/client/OpenFgaClientIntegrationTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test/java/dev/openfga/sdk/api/OpenFgaApiTest.java b/src/test/java/dev/openfga/sdk/api/OpenFgaApiTest.java index dd8427da..e6293f22 100644 --- a/src/test/java/dev/openfga/sdk/api/OpenFgaApiTest.java +++ b/src/test/java/dev/openfga/sdk/api/OpenFgaApiTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test/java/dev/openfga/sdk/api/auth/AccessTokenTest.java b/src/test/java/dev/openfga/sdk/api/auth/AccessTokenTest.java index 3a435f06..c5a2e22a 100644 --- a/src/test/java/dev/openfga/sdk/api/auth/AccessTokenTest.java +++ b/src/test/java/dev/openfga/sdk/api/auth/AccessTokenTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test/java/dev/openfga/sdk/api/auth/OAuth2ClientTest.java b/src/test/java/dev/openfga/sdk/api/auth/OAuth2ClientTest.java index 1a09a1de..d7b0f1d7 100644 --- a/src/test/java/dev/openfga/sdk/api/auth/OAuth2ClientTest.java +++ b/src/test/java/dev/openfga/sdk/api/auth/OAuth2ClientTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test/java/dev/openfga/sdk/api/client/ApiClientTest.java b/src/test/java/dev/openfga/sdk/api/client/ApiClientTest.java index 2691ec72..c584d046 100644 --- a/src/test/java/dev/openfga/sdk/api/client/ApiClientTest.java +++ b/src/test/java/dev/openfga/sdk/api/client/ApiClientTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test/java/dev/openfga/sdk/api/client/OpenFgaClientTest.java b/src/test/java/dev/openfga/sdk/api/client/OpenFgaClientTest.java index c14b36d8..81453a03 100644 --- a/src/test/java/dev/openfga/sdk/api/client/OpenFgaClientTest.java +++ b/src/test/java/dev/openfga/sdk/api/client/OpenFgaClientTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test/java/dev/openfga/sdk/api/configuration/ClientCredentialsTest.java b/src/test/java/dev/openfga/sdk/api/configuration/ClientCredentialsTest.java index 220c90bd..a1629a26 100644 --- a/src/test/java/dev/openfga/sdk/api/configuration/ClientCredentialsTest.java +++ b/src/test/java/dev/openfga/sdk/api/configuration/ClientCredentialsTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java b/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java index aafa1fae..7fe6fb23 100644 --- a/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java +++ b/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,7 +22,7 @@ class ConfigurationTest { private static final String DEFAULT_API_URL = "http://localhost:8080"; - private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.1"; + private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.2"; private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10); private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10); private static final Map DEFAULT_HEADERS = Map.of(); diff --git a/src/test/java/dev/openfga/sdk/util/StringUtilTest.java b/src/test/java/dev/openfga/sdk/util/StringUtilTest.java index 3a4d4bb1..69df3c99 100644 --- a/src/test/java/dev/openfga/sdk/util/StringUtilTest.java +++ b/src/test/java/dev/openfga/sdk/util/StringUtilTest.java @@ -2,7 +2,7 @@ * OpenFGA * A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. * - * The version of the OpenAPI document: 0.1 + * The version of the OpenAPI document: 1.x * Contact: community@openfga.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).