diff --git a/config/clients/java/.openapi-generator-ignore b/config/clients/java/.openapi-generator-ignore index e69de29b..9db62266 100644 --- a/config/clients/java/.openapi-generator-ignore +++ b/config/clients/java/.openapi-generator-ignore @@ -0,0 +1,2 @@ +build.sbt +.travis.yml diff --git a/config/clients/java/config.overrides.json b/config/clients/java/config.overrides.json index 475263b5..c39cc7ac 100644 --- a/config/clients/java/config.overrides.json +++ b/config/clients/java/config.overrides.json @@ -1,9 +1,29 @@ { "sdkId": "java", "gitRepoId": "java-sdk", - "packageName": "CHANGE_ME", + "packageName": "dev.openfga:openfga-sdk", + "artifactId": "openfga-sdk", + "groupId": "dev.openfga", + "apiPackage": "dev.openfga.api", + "modelPackage": "dev.openfga.api.model", "packageVersion": "0.0.1", - "packageDescription": "java SDK for OpenFGA", + "snapshotVersion": false, + "packageDescription": "Java SDK for OpenFGA", + "artifactDescription": "Java SDK for OpenFGA", "packageDetailedDescription": "This is an autogenerated java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).", + "developerEmail": "community@openfga.dev", + "developerName": "OpenFGA Contributors", + "developerOrganization": "OpenFGA", + "developerOrganizationUrl": "https://openfga.dev", + "licenseName": "Apache-2.0", + "licenseUrl": "https://github.com/openfga/dotnet-sdk/blob/main/LICENSE", + "scmConnection": "scm:git:git@github.com:openfga/java-sdk.git", + "scmDeveloperConnection": "scm:git:git@github.com:openfga/java-sdk.git", + "scmUrl": "https://github.com/openfga/java-sdk", + "library": "apache-httpclient", + "disallowAdditionalPropertiesIfNotPresent": false, + "enumUnknownDefaultCase": true, + "allowUnicodeIdentifiers": true, + "caseInsensitiveResponseHeaders": true, "files": {} } diff --git a/config/clients/java/template/README_license_disclaimer.mustache b/config/clients/java/template/README_license_disclaimer.mustache index e69de29b..58707940 100644 --- a/config/clients/java/template/README_license_disclaimer.mustache +++ b/config/clients/java/template/README_license_disclaimer.mustache @@ -0,0 +1 @@ +The code in this repo was auto generated by [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) from a template based on the [typescript-axios template](https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/typescript-axios) and [go template](https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/go), licensed under the [Apache License 2.0](https://github.com/OpenAPITools/openapi-generator/blob/master/LICENSE). diff --git a/config/clients/java/template/README_models.mustache b/config/clients/java/template/README_models.mustache index e69de29b..cfea61fa 100644 --- a/config/clients/java/template/README_models.mustache +++ b/config/clients/java/template/README_models.mustache @@ -0,0 +1 @@ +[Models](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/blob/main/apiModel.ts)