forked from hyperledger-cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: codegen to call clean on a per pkg basis
Primary Changes --------------- 1. Updated codegen scripts of all affected packages to include a global openapi-generator-ignore file 2. Created script to clean openapi folders generated by codegen for typescript-axios and kotlin Secondary Changes ----------------- 1. Removed duplicated code generated previously when codegen clear wasn't enabled 2. Created openapi-generator-ignore file at project root for global ignore rules Signed-off-by: jagpreetsinghsasan <[email protected]>
- Loading branch information
1 parent
9e66850
commit 3f2e9b1
Showing
208 changed files
with
94 additions
and
3,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
packages/**/src/main/typescript/generated/openapi/typescript-axios/docs/git_push.sh | ||
packages/**/src/main/typescript/generated/openapi/typescript-axios/docs/.npmignore | ||
packages/**/src/main/typescript/generated/openapi/typescript-axios/docs/.gitignore | ||
packages/**/src/main/kotlin/generated/openapi/kotlin-client/docs/** | ||
packages/**/src/main/kotlin/generated/openapi/kotlin-client/gradle/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
packages/**/src/main/typescript/generated/openapi/typescript-axios/git_push.sh | ||
packages/**/src/main/typescript/generated/openapi/typescript-axios/.npmignore | ||
packages/**/src/main/typescript/generated/openapi/typescript-axios/.gitignore | ||
packages/**/src/main/kotlin/generated/openapi/kotlin-client/docs/** | ||
packages/**/src/main/kotlin/generated/openapi/kotlin-client/gradle/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,3 @@ | |
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md | ||
|
||
docs/** | ||
gradle/** |
1 change: 1 addition & 0 deletions
1
...s-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.openapi-generator-ignore | ||
README.md | ||
build.gradle | ||
gradlew | ||
|
43 changes: 0 additions & 43 deletions
43
...lient/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...pi-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.openapi-generator-ignore | ||
api.ts | ||
base.ts | ||
common.ts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,3 @@ | |
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md | ||
|
||
docs/** | ||
gradle/** |
1 change: 1 addition & 0 deletions
1
.../cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.openapi-generator-ignore | ||
README.md | ||
build.gradle | ||
gradlew | ||
|
43 changes: 0 additions & 43 deletions
43
...lient/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.openapi-generator-ignore | ||
api.ts | ||
base.ts | ||
common.ts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,3 @@ | |
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md | ||
|
||
docs/** | ||
gradle/** |
1 change: 1 addition & 0 deletions
1
...onsortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.openapi-generator-ignore | ||
README.md | ||
build.gradle | ||
gradlew | ||
|
43 changes: 0 additions & 43 deletions
43
...lient/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
...tlin-client/src/main/kotlin/org/openapitools/client/models/GetConsortiumJwsResponseJws.kt
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
...api/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetNodeJwsResponseJws.kt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...lugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.gitignore
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,3 @@ | |
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md | ||
|
||
git_push.sh | ||
.npmignore |
2 changes: 1 addition & 1 deletion
2
...um-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.gitignore | ||
.openapi-generator-ignore | ||
api.ts | ||
base.ts | ||
common.ts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,3 @@ | |
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md | ||
|
||
docs/** | ||
gradle/** |
1 change: 1 addition & 0 deletions
1
...c-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.openapi-generator-ignore | ||
README.md | ||
build.gradle | ||
gradlew | ||
|
Oops, something went wrong.