Skip to content

Commit

Permalink
feat(java): make setup-new-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
booniepepper committed Jul 25, 2023
1 parent 778f3e8 commit 41a6cf1
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,12 @@ shellcheck:
.PHONY: setup-new-sdk
setup-new-sdk:
./scripts/setup_new_sdk.sh

.PHONY: build-client-java
build-client-java:
make build-client sdk_language=java tmpdir=${TMP_DIR}
# ... any other custom build steps ...

.PHONY: test-client-java
test-client-java: build-client-java
# ... any custom test code ...
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions config/clients/java/config.overrides.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"sdkId": "java",
"gitRepoId": "java-sdk",
"packageName": "CHANGE_ME",
"packageVersion": "0.0.1",
"packageDescription": "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).",
"files": {}
}
1 change: 1 addition & 0 deletions config/clients/java/generator.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java
7 changes: 7 additions & 0 deletions config/clients/java/template-source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"repo": "https://github.com/OpenAPITools/openapi-generator",
"branch": "master",
"commit": "a1558e386170c47b8be14b695058a9843d868b09",
"url": "https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/java",
"docs": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/java.md"
}
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.

0 comments on commit 41a6cf1

Please sign in to comment.