diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json b/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json index bbf7fd4c3ec..b28422cc4b4 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 1510fcfb8f0..7484ee590a3 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.gitignore -.npmignore -git_push.sh diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/package.json b/examples/cactus-example-supply-chain-business-logic-plugin/package.json index 7e0e36bdce5..fdeed98affa 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/package.json +++ b/examples/cactus-example-supply-chain-business-logic-plugin/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 1510fcfb8f0..7484ee590a3 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.gitignore -.npmignore -git_push.sh diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/package.json b/extensions/cactus-plugin-htlc-coordinator-besu/package.json index 854a16cf84d..40ee36f5b8f 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/package.json +++ b/extensions/cactus-plugin-htlc-coordinator-besu/package.json @@ -46,7 +46,7 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "run-p generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev webpack:prod", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 57cdd7b74b9..7484ee590a3 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore diff --git a/extensions/cactus-plugin-object-store-ipfs/package.json b/extensions/cactus-plugin-object-store-ipfs/package.json index eb2ca7205fd..b91cff98fe5 100644 --- a/extensions/cactus-plugin-object-store-ipfs/package.json +++ b/extensions/cactus-plugin-object-store-ipfs/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 639d97c04ce..7484ee590a3 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,31 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md - -.gitignore -.npmignore -git_push.sh \ No newline at end of file diff --git a/openapi-generator-ignore b/openapi-generator-ignore new file mode 100644 index 00000000000..c787e7689f4 --- /dev/null +++ b/openapi-generator-ignore @@ -0,0 +1,6 @@ +**/.openapi-generator-ignore +**/git_push.sh +**/.npmignore +**/.gitignore +**/generated/openapi/kotlin-client/docs/** +**/generated/openapi/kotlin-client/gradle/** \ No newline at end of file diff --git a/package.json b/package.json index c27cca1d6b4..e30f46773e2 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "codegen": "run-s 'codegen:warmup-*' codegen:lerna codegen:cleanup", "codegen:cleanup": "rm --force --verbose ./openapitools.json", "codegen:lerna": "lerna run codegen", + "codegen:warmup-cleancodegendir": "node tools/clear-openapi-codegen-folders.js", "codegen:warmup-mkdir": "make-dir ./node_modules/@openapitools/openapi-generator-cli/versions/", "codegen:warmup-v6.6.0": "nwget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.6.0/openapi-generator-cli-6.6.0.jar -O ./node_modules/@openapitools/openapi-generator-cli/versions/6.6.0.jar", "watch-other": "lerna run --parallel watch", diff --git a/packages/cactus-cmd-api-server/package.json b/packages/cactus-cmd-api-server/package.json index 44a4a00a9f8..d1156907949 100644 --- a/packages/cactus-cmd-api-server/package.json +++ b/packages/cactus-cmd-api-server/package.json @@ -47,8 +47,8 @@ "codegen:openapi": "npm run generate-sdk", "codegen:proto": "run-s proto:openapi proto:protoc-gen-ts", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "proto:openapi": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g protobuf-schema --model-name-suffix=PB --additional-properties=packageName=org.hyperledger.cactus.cmd_api_server -o ./src/main/proto/generated/openapi/ -t=./src/main/openapi-generator/templates/protobuf-schema/", "proto:protoc-gen-ts": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/ --proto_path ./src/main/proto/generated/openapi/ ./src/main/proto/generated/openapi/services/*.proto", "watch": "npm-watch", diff --git a/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-cmd-api-server/src/main/proto/generated/openapi/.openapi-generator/FILES b/packages/cactus-cmd-api-server/src/main/proto/generated/openapi/.openapi-generator/FILES index bd08ea9f6fb..270cf21ca1a 100644 --- a/packages/cactus-cmd-api-server/src/main/proto/generated/openapi/.openapi-generator/FILES +++ b/packages/cactus-cmd-api-server/src/main/proto/generated/openapi/.openapi-generator/FILES @@ -1,4 +1,3 @@ -.openapi-generator-ignore README.md models/health_check_response_pb.proto models/memory_usage_pb.proto diff --git a/packages/cactus-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ecd97ff37fe..7484ee590a3 100644 --- a/packages/cactus-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore \ No newline at end of file diff --git a/packages/cactus-core-api/package.json b/packages/cactus-core-api/package.json index 3ee53be744f..bd50e9d5bb8 100644 --- a/packages/cactus-core-api/package.json +++ b/packages/cactus-core-api/package.json @@ -47,8 +47,8 @@ "codegen:openapi": "npm run generate-sdk", "codegen:proto": "run-s proto:protoc-gen-ts", "generate-sdk": "run-s 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "proto:protoc-gen-ts": "run-s proto:protoc-gen-ts:make-dir proto:protoc-gen-ts:grpc_tools_node_protoc", "proto:protoc-gen-ts:make-dir": "make-dir ./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/", "proto:protoc-gen-ts:grpc_tools_node_protoc": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/ --proto_path ./src/main/proto/weaver/common/protos/ ./src/main/proto/weaver/common/protos/common/*.proto ./src/main/proto/weaver/common/protos/corda/*.proto ./src/main/proto/weaver/common/protos/driver/*.proto ./src/main/proto/weaver/common/protos/networks/*.proto ./src/main/proto/weaver/common/protos/relay/*.proto", diff --git a/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 57cdd7b74b9..7484ee590a3 100644 --- a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore diff --git a/packages/cactus-plugin-consortium-manual/package.json b/packages/cactus-plugin-consortium-manual/package.json index 64a8061e580..ca99f6040f4 100644 --- a/packages/cactus-plugin-consortium-manual/package.json +++ b/packages/cactus-plugin-consortium-manual/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.gitignore b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.gitignore deleted file mode 100644 index 149b5765472..00000000000 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -wwwroot/*.js -node_modules -typings -dist diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 6a6325b75c7..7484ee590a3 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index d5e35beea15..53250c02696 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,4 +1,3 @@ -.gitignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json index 5626def91b9..f2a829a8755 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json @@ -51,8 +51,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 91f39c354c7..7484ee590a3 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md -git_push.sh -.npmignore -.gitignore \ No newline at end of file diff --git a/packages/cactus-plugin-htlc-eth-besu/package.json b/packages/cactus-plugin-htlc-eth-besu/package.json index 277732f8196..cff8a2e3f84 100644 --- a/packages/cactus-plugin-htlc-eth-besu/package.json +++ b/packages/cactus-plugin-htlc-eth-besu/package.json @@ -57,7 +57,7 @@ "codegen:openapi": "npm run generate-sdk", "compile-contracts": "forge build", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "lint": "solhint --fix", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ad66c7e1784..7484ee590a3 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.npmignore -.gitignore -git_push.sh diff --git a/packages/cactus-plugin-keychain-aws-sm/package.json b/packages/cactus-plugin-keychain-aws-sm/package.json index c5e6a039de0..4738d290fee 100644 --- a/packages/cactus-plugin-keychain-aws-sm/package.json +++ b/packages/cactus-plugin-keychain-aws-sm/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 6ff76cf80a2..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.npmignore -.gitignore -git_push.sh \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-azure-kv/package.json b/packages/cactus-plugin-keychain-azure-kv/package.json index c68e841f378..ace0b60fa42 100644 --- a/packages/cactus-plugin-keychain-azure-kv/package.json +++ b/packages/cactus-plugin-keychain-azure-kv/package.json @@ -51,8 +51,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ad66c7e1784..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.npmignore -.gitignore -git_push.sh diff --git a/packages/cactus-plugin-keychain-google-sm/package.json b/packages/cactus-plugin-keychain-google-sm/package.json index 8cc00f0f87f..05c5e23e9d2 100644 --- a/packages/cactus-plugin-keychain-google-sm/package.json +++ b/packages/cactus-plugin-keychain-google-sm/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 6ff76cf80a2..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.npmignore -.gitignore -git_push.sh \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory-wasm/package.json b/packages/cactus-plugin-keychain-memory-wasm/package.json index 482750da6fc..e8c6aaec8fa 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/package.json +++ b/packages/cactus-plugin-keychain-memory-wasm/package.json @@ -49,8 +49,8 @@ "del-wasm-pack-project-files": "del-cli src/main/typescript/generated/wasm-pack/{package.json,README.md,.gitignore}", "generate-rust-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g rust-server -o ./src/main/rust/generated/openapi/rust-server", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "wasm-pack": "CARGO_TARGET_DIR=${PWD}/dist/target-rustc/ wasm-pack build src/main/rust/cactus-plugin-keychain-memory-wasm/ --release --scope=hyperledger --target=nodejs --out-dir=../../../../src/main/typescript/generated/wasm-pack/", "postwasm-pack": "run-s del-wasm-pack-project-files copy-wasm-bg", "watch": "npm-watch", diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ad66c7e1784..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.npmignore -.gitignore -git_push.sh diff --git a/packages/cactus-plugin-keychain-memory/package.json b/packages/cactus-plugin-keychain-memory/package.json index 5fdab0eec5a..65e14e1b7d2 100644 --- a/packages/cactus-plugin-keychain-memory/package.json +++ b/packages/cactus-plugin-keychain-memory/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-keychain-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 9548c6c6859..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.gitignore -.npmignore -git_push.sh \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-vault/package.json b/packages/cactus-plugin-keychain-vault/package.json index 2ee0396868c..ce6f2c58c36 100644 --- a/packages/cactus-plugin-keychain-vault/package.json +++ b/packages/cactus-plugin-keychain-vault/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index fbd1b263006..7484ee590a3 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,8 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.npmignore -.gitignore -git_push.sh - diff --git a/packages/cactus-plugin-ledger-connector-besu/package.json b/packages/cactus-plugin-ledger-connector-besu/package.json index e027b4c0845..2e8d893ace9 100644 --- a/packages/cactus-plugin-ledger-connector-besu/package.json +++ b/packages/cactus-plugin-ledger-connector-besu/package.json @@ -46,7 +46,7 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 57cdd7b74b9..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore diff --git a/packages/cactus-plugin-ledger-connector-corda/package.json b/packages/cactus-plugin-ledger-connector-corda/package.json index ba7ec6d8811..5e88e092361 100644 --- a/packages/cactus-plugin-ledger-connector-corda/package.json +++ b/packages/cactus-plugin-ledger-connector-corda/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "run-p generate-sdk generate-server", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", "generate-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin-spring -o ./src/main-server/kotlin/gen/kotlin-spring/ -c ./src/main-server/openapi-generator-config.yaml", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 935e06c407f..e53c49ad829 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,43 +1,5 @@ README.md build.gradle -docs/ClearMonitorTransactionsV1Request.md -docs/ClearMonitorTransactionsV1Response.md -docs/CordaNodeSshCredentials.md -docs/CordaRpcCredentials.md -docs/CordaX500Name.md -docs/CordappDeploymentConfig.md -docs/CordappInfo.md -docs/DefaultApi.md -docs/DeployContractJarsBadRequestV1Response.md -docs/DeployContractJarsSuccessV1Response.md -docs/DeployContractJarsV1Request.md -docs/DiagnoseNodeV1Request.md -docs/DiagnoseNodeV1Response.md -docs/FlowInvocationType.md -docs/GetMonitorTransactionsV1Request.md -docs/GetMonitorTransactionsV1Response.md -docs/GetMonitorTransactionsV1ResponseTxInner.md -docs/InvokeContractV1Request.md -docs/InvokeContractV1Response.md -docs/JarFile.md -docs/JvmObject.md -docs/JvmType.md -docs/JvmTypeKind.md -docs/ListFlowsV1Request.md -docs/ListFlowsV1Response.md -docs/NetworkHostAndPort.md -docs/NodeDiagnosticInfo.md -docs/NodeInfo.md -docs/Party.md -docs/PublicKey.md -docs/SHA256.md -docs/StartMonitorV1Request.md -docs/StartMonitorV1Response.md -docs/StopMonitorV1Request.md -docs/StopMonitorV1Response.md -docs/X500Principal.md -gradle/wrapper/gradle-wrapper.jar -gradle/wrapper/gradle-wrapper.properties gradlew gradlew.bat settings.gradle diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ClearMonitorTransactionsV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ClearMonitorTransactionsV1Request.md deleted file mode 100644 index 92c08bc28a5..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ClearMonitorTransactionsV1Request.md +++ /dev/null @@ -1,12 +0,0 @@ - -# ClearMonitorTransactionsV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**clientAppId** | **kotlin.String** | ID of a client application that wants to monitor the state changes | -**stateFullClassName** | **kotlin.String** | The fully qualified name of the Corda state to monitor | -**txIndexes** | **kotlin.collections.List<kotlin.String>** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ClearMonitorTransactionsV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ClearMonitorTransactionsV1Response.md deleted file mode 100644 index e65d7990a1d..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ClearMonitorTransactionsV1Response.md +++ /dev/null @@ -1,11 +0,0 @@ - -# ClearMonitorTransactionsV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success** | **kotlin.Boolean** | Flag set to true if operation completed correctly. | -**msg** | **kotlin.String** | Message describing operation status or any errors that occurred. | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaNodeSshCredentials.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaNodeSshCredentials.md deleted file mode 100644 index 07aaf5c6306..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaNodeSshCredentials.md +++ /dev/null @@ -1,14 +0,0 @@ - -# CordaNodeSshCredentials - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hostKeyEntry** | **kotlin.String** | | -**username** | **kotlin.String** | | -**password** | **kotlin.String** | | -**hostname** | **kotlin.String** | | -**port** | **kotlin.Int** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaRpcCredentials.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaRpcCredentials.md deleted file mode 100644 index 02133fe370f..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaRpcCredentials.md +++ /dev/null @@ -1,13 +0,0 @@ - -# CordaRpcCredentials - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hostname** | **kotlin.String** | | -**port** | **kotlin.Int** | | -**username** | **kotlin.String** | | -**password** | **kotlin.String** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaX500Name.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaX500Name.md deleted file mode 100644 index 55470076ea6..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordaX500Name.md +++ /dev/null @@ -1,16 +0,0 @@ - -# CordaX500Name - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organisation** | **kotlin.String** | | -**locality** | **kotlin.String** | | -**country** | **kotlin.String** | | -**x500Principal** | [**X500Principal**](X500Principal.md) | | -**commonName** | **kotlin.String** | | [optional] -**organisationUnit** | **kotlin.String** | | [optional] -**state** | **kotlin.String** | | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordappDeploymentConfig.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordappDeploymentConfig.md deleted file mode 100644 index e2ea364a2c6..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordappDeploymentConfig.md +++ /dev/null @@ -1,15 +0,0 @@ - -# CordappDeploymentConfig - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sshCredentials** | [**CordaNodeSshCredentials**](CordaNodeSshCredentials.md) | | -**rpcCredentials** | [**CordaRpcCredentials**](CordaRpcCredentials.md) | | -**cordaNodeStartCmd** | **kotlin.String** | The shell command to execute in order to start back up a Corda node after having placed new jars in the cordapp directory of said node. | -**cordappDir** | **kotlin.String** | The absolute file system path where the Corda Node is expecting deployed Cordapp jar files to be placed. | -**cordaJarPath** | **kotlin.String** | The absolute file system path where the corda.jar file of the node can be found. This is used to execute database schema migrations where applicable (H2 database in use in development environments). | -**nodeBaseDirPath** | **kotlin.String** | The absolute file system path where the base directory of the Corda node can be found. This is used to pass in to corda.jar when being invoked for certain tasks such as executing database schema migrations for a deployed contract. | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordappInfo.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordappInfo.md deleted file mode 100644 index 8b2c46bba5e..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/CordappInfo.md +++ /dev/null @@ -1,18 +0,0 @@ - -# CordappInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**jarHash** | [**SHA256**](.md) | | -**licence** | **kotlin.String** | The name of the licence this CorDapp is released under | -**minimumPlatformVersion** | **kotlin.Int** | The minimum platform version the node must be at for the CorDapp to run | -**name** | **kotlin.String** | The name of the JAR file that defines the CorDapp | -**shortName** | **kotlin.String** | The name of the CorDapp | -**targetPlatformVersion** | **kotlin.Int** | The target platform version this CorDapp has been tested against | -**type** | **kotlin.String** | A description of what sort of CorDapp this is - either a contract, workflow, or a combination. | -**vendor** | **kotlin.String** | The vendor of this CorDapp | -**version** | **kotlin.String** | The version of this CorDapp | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DefaultApi.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DefaultApi.md deleted file mode 100644 index ead1f1e7bd7..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DefaultApi.md +++ /dev/null @@ -1,470 +0,0 @@ -# DefaultApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**clearMonitorTransactionsV1**](DefaultApi.md#clearMonitorTransactionsV1) | **DELETE** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/clear-monitor-transactions | Clear transactions from internal store so they'll not be available by GetMonitorTransactionsV1 anymore. -[**deployContractJarsV1**](DefaultApi.md#deployContractJarsV1) | **POST** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/deploy-contract-jars | Deploys a set of jar files (Cordapps, e.g. the contracts in Corda speak). -[**diagnoseNodeV1**](DefaultApi.md#diagnoseNodeV1) | **POST** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/diagnose-node | -[**getMonitorTransactionsV1**](DefaultApi.md#getMonitorTransactionsV1) | **GET** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-monitor-transactions | Get transactions for monitored state classes. -[**getPrometheusMetricsV1**](DefaultApi.md#getPrometheusMetricsV1) | **GET** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-prometheus-exporter-metrics | Get the Prometheus Metrics -[**invokeContractV1**](DefaultApi.md#invokeContractV1) | **POST** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/invoke-contract | Invokes a contract on a Corda ledger (e.g. a flow) -[**listFlowsV1**](DefaultApi.md#listFlowsV1) | **POST** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/list-flows | -[**networkMapV1**](DefaultApi.md#networkMapV1) | **POST** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/network-map | -[**startMonitorV1**](DefaultApi.md#startMonitorV1) | **POST** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/start-monitor | Start monitoring corda changes (transactions) of given state class -[**stopMonitorV1**](DefaultApi.md#stopMonitorV1) | **DELETE** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/stop-monitor | Stop monitoring corda changes (transactions) of given state class - - - -# **clearMonitorTransactionsV1** -> ClearMonitorTransactionsV1Response clearMonitorTransactionsV1(clearMonitorTransactionsV1Request) - -Clear transactions from internal store so they'll not be available by GetMonitorTransactionsV1 anymore. - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val clearMonitorTransactionsV1Request : ClearMonitorTransactionsV1Request = // ClearMonitorTransactionsV1Request | -try { - val result : ClearMonitorTransactionsV1Response = apiInstance.clearMonitorTransactionsV1(clearMonitorTransactionsV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#clearMonitorTransactionsV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#clearMonitorTransactionsV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clearMonitorTransactionsV1Request** | [**ClearMonitorTransactionsV1Request**](ClearMonitorTransactionsV1Request.md)| | [optional] - -### Return type - -[**ClearMonitorTransactionsV1Response**](ClearMonitorTransactionsV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **deployContractJarsV1** -> DeployContractJarsSuccessV1Response deployContractJarsV1(deployContractJarsV1Request) - -Deploys a set of jar files (Cordapps, e.g. the contracts in Corda speak). - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val deployContractJarsV1Request : DeployContractJarsV1Request = // DeployContractJarsV1Request | -try { - val result : DeployContractJarsSuccessV1Response = apiInstance.deployContractJarsV1(deployContractJarsV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#deployContractJarsV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#deployContractJarsV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **deployContractJarsV1Request** | [**DeployContractJarsV1Request**](DeployContractJarsV1Request.md)| | [optional] - -### Return type - -[**DeployContractJarsSuccessV1Response**](DeployContractJarsSuccessV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **diagnoseNodeV1** -> DiagnoseNodeV1Response diagnoseNodeV1(diagnoseNodeV1Request) - - - -Responds with diagnostic information about the Corda node - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val diagnoseNodeV1Request : DiagnoseNodeV1Request = // DiagnoseNodeV1Request | -try { - val result : DiagnoseNodeV1Response = apiInstance.diagnoseNodeV1(diagnoseNodeV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#diagnoseNodeV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#diagnoseNodeV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **diagnoseNodeV1Request** | [**DiagnoseNodeV1Request**](DiagnoseNodeV1Request.md)| | [optional] - -### Return type - -[**DiagnoseNodeV1Response**](DiagnoseNodeV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **getMonitorTransactionsV1** -> GetMonitorTransactionsV1Response getMonitorTransactionsV1(getMonitorTransactionsV1Request) - -Get transactions for monitored state classes. - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val getMonitorTransactionsV1Request : GetMonitorTransactionsV1Request = // GetMonitorTransactionsV1Request | -try { - val result : GetMonitorTransactionsV1Response = apiInstance.getMonitorTransactionsV1(getMonitorTransactionsV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#getMonitorTransactionsV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#getMonitorTransactionsV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **getMonitorTransactionsV1Request** | [**GetMonitorTransactionsV1Request**](GetMonitorTransactionsV1Request.md)| | [optional] - -### Return type - -[**GetMonitorTransactionsV1Response**](GetMonitorTransactionsV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **getPrometheusMetricsV1** -> kotlin.String getPrometheusMetricsV1() - -Get the Prometheus Metrics - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -try { - val result : kotlin.String = apiInstance.getPrometheusMetricsV1() - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#getPrometheusMetricsV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#getPrometheusMetricsV1") - e.printStackTrace() -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**kotlin.String** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -# **invokeContractV1** -> InvokeContractV1Response invokeContractV1(invokeContractV1Request) - -Invokes a contract on a Corda ledger (e.g. a flow) - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val invokeContractV1Request : InvokeContractV1Request = // InvokeContractV1Request | -try { - val result : InvokeContractV1Response = apiInstance.invokeContractV1(invokeContractV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#invokeContractV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#invokeContractV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **invokeContractV1Request** | [**InvokeContractV1Request**](InvokeContractV1Request.md)| | [optional] - -### Return type - -[**InvokeContractV1Response**](InvokeContractV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **listFlowsV1** -> ListFlowsV1Response listFlowsV1(listFlowsV1Request) - - - -Responds with a list of the flows on the Corda node. - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val listFlowsV1Request : ListFlowsV1Request = // ListFlowsV1Request | -try { - val result : ListFlowsV1Response = apiInstance.listFlowsV1(listFlowsV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#listFlowsV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#listFlowsV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **listFlowsV1Request** | [**ListFlowsV1Request**](ListFlowsV1Request.md)| | [optional] - -### Return type - -[**ListFlowsV1Response**](ListFlowsV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **networkMapV1** -> kotlin.collections.List<NodeInfo> networkMapV1(body) - - - -Responds with a snapshot of the network map as provided by the Corda RPC call: net.corda.core.messaging.CordaRPCOps public abstract fun networkMapSnapshot(): List<NodeInfo> - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val body : kotlin.Any = Object // kotlin.Any | -try { - val result : kotlin.collections.List = apiInstance.networkMapV1(body) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#networkMapV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#networkMapV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | **kotlin.Any**| | [optional] - -### Return type - -[**kotlin.collections.List<NodeInfo>**](NodeInfo.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **startMonitorV1** -> StartMonitorV1Response startMonitorV1(startMonitorV1Request) - -Start monitoring corda changes (transactions) of given state class - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val startMonitorV1Request : StartMonitorV1Request = // StartMonitorV1Request | -try { - val result : StartMonitorV1Response = apiInstance.startMonitorV1(startMonitorV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#startMonitorV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#startMonitorV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **startMonitorV1Request** | [**StartMonitorV1Request**](StartMonitorV1Request.md)| | [optional] - -### Return type - -[**StartMonitorV1Response**](StartMonitorV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **stopMonitorV1** -> StopMonitorV1Response stopMonitorV1(stopMonitorV1Request) - -Stop monitoring corda changes (transactions) of given state class - -### Example -```kotlin -// Import classes: -//import org.openapitools.client.infrastructure.* -//import org.openapitools.client.models.* - -val apiInstance = DefaultApi() -val stopMonitorV1Request : StopMonitorV1Request = // StopMonitorV1Request | -try { - val result : StopMonitorV1Response = apiInstance.stopMonitorV1(stopMonitorV1Request) - println(result) -} catch (e: ClientException) { - println("4xx response calling DefaultApi#stopMonitorV1") - e.printStackTrace() -} catch (e: ServerException) { - println("5xx response calling DefaultApi#stopMonitorV1") - e.printStackTrace() -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stopMonitorV1Request** | [**StopMonitorV1Request**](StopMonitorV1Request.md)| | [optional] - -### Return type - -[**StopMonitorV1Response**](StopMonitorV1Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsBadRequestV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsBadRequestV1Response.md deleted file mode 100644 index 920580b101a..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsBadRequestV1Response.md +++ /dev/null @@ -1,10 +0,0 @@ - -# DeployContractJarsBadRequestV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**errors** | **kotlin.collections.List<kotlin.String>** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsSuccessV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsSuccessV1Response.md deleted file mode 100644 index 84972366947..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsSuccessV1Response.md +++ /dev/null @@ -1,10 +0,0 @@ - -# DeployContractJarsSuccessV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**deployedJarFiles** | **kotlin.collections.List<kotlin.String>** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsV1Request.md deleted file mode 100644 index 92c51571728..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DeployContractJarsV1Request.md +++ /dev/null @@ -1,11 +0,0 @@ - -# DeployContractJarsV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cordappDeploymentConfigs** | [**kotlin.collections.List<CordappDeploymentConfig>**](CordappDeploymentConfig.md) | The list of deployment configurations pointing to the nodes where the provided cordapp jar files are to be deployed . | -**jarFiles** | [**kotlin.collections.List<JarFile>**](JarFile.md) | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DiagnoseNodeV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DiagnoseNodeV1Request.md deleted file mode 100644 index 72b1c0a67b5..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DiagnoseNodeV1Request.md +++ /dev/null @@ -1,10 +0,0 @@ - -# DiagnoseNodeV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nodeIds** | **kotlin.collections.List<kotlin.String>** | Optional property specifying which Corda Node should be the one being diagnosed in case the Connector has multiple connections established for different nodes (which is not yet a supported feature, but we want to keep this possibility open for the future). | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DiagnoseNodeV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DiagnoseNodeV1Response.md deleted file mode 100644 index 818e4e6cb1f..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/DiagnoseNodeV1Response.md +++ /dev/null @@ -1,10 +0,0 @@ - -# DiagnoseNodeV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nodeDiagnosticInfo** | [**NodeDiagnosticInfo**](NodeDiagnosticInfo.md) | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/FlowInvocationType.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/FlowInvocationType.md deleted file mode 100644 index 0a11c3ca14e..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/FlowInvocationType.md +++ /dev/null @@ -1,12 +0,0 @@ - -# FlowInvocationType - -## Enum - - - * `tRACKEDFLOWDYNAMIC` (value: `"TRACKED_FLOW_DYNAMIC"`) - - * `fLOWDYNAMIC` (value: `"FLOW_DYNAMIC"`) - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1Request.md deleted file mode 100644 index 9aea6deb327..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1Request.md +++ /dev/null @@ -1,11 +0,0 @@ - -# GetMonitorTransactionsV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**clientAppId** | **kotlin.String** | ID of a client application that wants to monitor the state changes | -**stateFullClassName** | **kotlin.String** | The fully qualified name of the Corda state to monitor | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1Response.md deleted file mode 100644 index 4074ea8a779..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1Response.md +++ /dev/null @@ -1,13 +0,0 @@ - -# GetMonitorTransactionsV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success** | **kotlin.Boolean** | Flag set to true if operation completed correctly. | -**msg** | **kotlin.String** | Message describing operation status or any errors that occurred. | -**stateFullClassName** | **kotlin.String** | The fully qualified name of the Corda state to monitor | [optional] -**tx** | [**kotlin.collections.List<GetMonitorTransactionsV1ResponseTxInner>**](GetMonitorTransactionsV1ResponseTxInner.md) | | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1ResponseTxInner.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1ResponseTxInner.md deleted file mode 100644 index ac414e83d57..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1ResponseTxInner.md +++ /dev/null @@ -1,11 +0,0 @@ - -# GetMonitorTransactionsV1ResponseTxInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**index** | **kotlin.String** | | [optional] -**`data`** | **kotlin.String** | | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/InvokeContractV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/InvokeContractV1Request.md deleted file mode 100644 index 43bd1524922..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/InvokeContractV1Request.md +++ /dev/null @@ -1,13 +0,0 @@ - -# InvokeContractV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flowFullClassName** | **kotlin.String** | The fully qualified name of the Corda flow to invoke | -**flowInvocationType** | [**FlowInvocationType**](FlowInvocationType.md) | | -**params** | [**kotlin.collections.List<JvmObject>**](JvmObject.md) | The list of arguments to pass in to the contract method being invoked. | -**timeoutMs** | **kotlin.Int** | The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/InvokeContractV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/InvokeContractV1Response.md deleted file mode 100644 index b328cd3c756..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/InvokeContractV1Response.md +++ /dev/null @@ -1,14 +0,0 @@ - -# InvokeContractV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success** | **kotlin.Boolean** | | -**callOutput** | [**kotlin.Any**](.md) | Data returned from the JVM when no transaction is running | -**flowId** | **kotlin.String** | The id for the flow handle | -**transactionId** | **kotlin.String** | The net.corda.core.flows.StateMachineRunId value returned by the flow execution. | [optional] -**progress** | **kotlin.collections.List<kotlin.String>** | An array of strings representing the aggregated stream of progress updates provided by a *tracked* flow invocation. If the flow invocation was not tracked, this array is still returned, but as empty. | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JarFile.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JarFile.md deleted file mode 100644 index faef5ca02a5..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JarFile.md +++ /dev/null @@ -1,12 +0,0 @@ - -# JarFile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**filename** | **kotlin.String** | | -**hasDbMigrations** | **kotlin.Boolean** | Indicates whether the cordapp jar in question contains any embedded migrations that Cactus can/should execute between copying the jar into the cordapp directory and starting the node back up. | -**contentBase64** | **kotlin.String** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmObject.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmObject.md deleted file mode 100644 index 2eee76aba20..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmObject.md +++ /dev/null @@ -1,13 +0,0 @@ - -# JvmObject - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**jvmTypeKind** | [**JvmTypeKind**](JvmTypeKind.md) | | -**jvmType** | [**JvmType**](JvmType.md) | | -**primitiveValue** | [**kotlin.Any**](.md) | | [optional] -**jvmCtorArgs** | [**kotlin.collections.List<JvmObject>**](JvmObject.md) | | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmType.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmType.md deleted file mode 100644 index bca84cf124f..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmType.md +++ /dev/null @@ -1,12 +0,0 @@ - -# JvmType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**fqClassName** | **kotlin.String** | | -**constructorName** | **kotlin.String** | This parameter is used to specify that the function used to construct this JvmType is not a constructor function but instead is a factory function. Setting this parameter will cause the plugin to look up methods of the class denoted by fqClassName instead of its constructors. | [optional] -**invocationTarget** | [**JvmObject**](JvmObject.md) | | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmTypeKind.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmTypeKind.md deleted file mode 100644 index 3b2d3505470..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/JvmTypeKind.md +++ /dev/null @@ -1,12 +0,0 @@ - -# JvmTypeKind - -## Enum - - - * `pRIMITIVE` (value: `"PRIMITIVE"`) - - * `rEFERENCE` (value: `"REFERENCE"`) - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ListFlowsV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ListFlowsV1Request.md deleted file mode 100644 index d7c3f84a8fb..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ListFlowsV1Request.md +++ /dev/null @@ -1,10 +0,0 @@ - -# ListFlowsV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**filter** | **kotlin.String** | | [optional] - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ListFlowsV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ListFlowsV1Response.md deleted file mode 100644 index 4049ed81710..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/ListFlowsV1Response.md +++ /dev/null @@ -1,10 +0,0 @@ - -# ListFlowsV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flowNames** | **kotlin.collections.List<kotlin.String>** | An array of strings storing the names of the flows as returned by the flowList Corda RPC. | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NetworkHostAndPort.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NetworkHostAndPort.md deleted file mode 100644 index ffd7f6dc049..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NetworkHostAndPort.md +++ /dev/null @@ -1,11 +0,0 @@ - -# NetworkHostAndPort - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**host** | **kotlin.String** | | -**port** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NodeDiagnosticInfo.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NodeDiagnosticInfo.md deleted file mode 100644 index 680439dd48e..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NodeDiagnosticInfo.md +++ /dev/null @@ -1,14 +0,0 @@ - -# NodeDiagnosticInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cordapps** | [**kotlin.collections.List<CordappInfo>**](CordappInfo.md) | A list of CorDapps currently installed on this node | -**platformVersion** | **kotlin.Int** | The platform version of this node. This number represents a released API version, and should be used to make functionality decisions (e.g. enabling an app feature only if an underlying platform feature exists) | -**revision** | **kotlin.String** | The git commit hash this node was built from | -**vendor** | **kotlin.String** | The vendor of this node | -**version** | **kotlin.String** | The current node version string, e.g. 4.3, 4.4-SNAPSHOT. Note that this string is effectively freeform, and so should only be used for providing diagnostic information. It should not be used to make functionality decisions (the platformVersion is a better fit for this). | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NodeInfo.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NodeInfo.md deleted file mode 100644 index 6ff905284eb..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/NodeInfo.md +++ /dev/null @@ -1,14 +0,0 @@ - -# NodeInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**addresses** | [**kotlin.collections.List<NetworkHostAndPort>**](NetworkHostAndPort.md) | | -**platformVersion** | **kotlin.Int** | | -**serial** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**legalIdentities** | [**kotlin.collections.List<Party>**](Party.md) | | -**legalIdentitiesAndCerts** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/Party.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/Party.md deleted file mode 100644 index b46526eb418..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/Party.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Party - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | [**CordaX500Name**](CordaX500Name.md) | | -**owningKey** | [**PublicKey**](PublicKey.md) | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/PublicKey.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/PublicKey.md deleted file mode 100644 index b4016bb27fa..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/PublicKey.md +++ /dev/null @@ -1,12 +0,0 @@ - -# PublicKey - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**algorithm** | **kotlin.String** | | -**format** | **kotlin.String** | | -**encoded** | **kotlin.String** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/SHA256.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/SHA256.md deleted file mode 100644 index 96fd318de19..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/SHA256.md +++ /dev/null @@ -1,12 +0,0 @@ - -# SHA256 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bytes** | **kotlin.String** | | -**offset** | **kotlin.Int** | | -**propertySize** | **kotlin.Int** | | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StartMonitorV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StartMonitorV1Request.md deleted file mode 100644 index cc682ccfca6..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StartMonitorV1Request.md +++ /dev/null @@ -1,11 +0,0 @@ - -# StartMonitorV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**clientAppId** | **kotlin.String** | ID of a client application that wants to monitor the state changes | -**stateFullClassName** | **kotlin.String** | The fully qualified name of the Corda state to monitor | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StartMonitorV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StartMonitorV1Response.md deleted file mode 100644 index 3cedbfce1de..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StartMonitorV1Response.md +++ /dev/null @@ -1,11 +0,0 @@ - -# StartMonitorV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success** | **kotlin.Boolean** | Flag set to true if monitoring started correctly. | -**msg** | **kotlin.String** | Message describing operation status or any errors that occurred. | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StopMonitorV1Request.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StopMonitorV1Request.md deleted file mode 100644 index 7b521a5ce0f..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StopMonitorV1Request.md +++ /dev/null @@ -1,11 +0,0 @@ - -# StopMonitorV1Request - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**clientAppId** | **kotlin.String** | ID of a client application that wants to monitor the state changes | -**stateFullClassName** | **kotlin.String** | The fully qualified name of the Corda state to monitor | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StopMonitorV1Response.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StopMonitorV1Response.md deleted file mode 100644 index 9f5a64db547..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/StopMonitorV1Response.md +++ /dev/null @@ -1,11 +0,0 @@ - -# StopMonitorV1Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success** | **kotlin.Boolean** | Flag set to true if operation completed correctly. | -**msg** | **kotlin.String** | Message describing operation status or any errors that occurred. | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/X500Principal.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/X500Principal.md deleted file mode 100644 index 424b36a9384..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/X500Principal.md +++ /dev/null @@ -1,11 +0,0 @@ - -# X500Principal - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**encoded** | **kotlin.String** | Base64 encoded public key | - - - diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/gradle/wrapper/gradle-wrapper.jar b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index c1962a79e29..00000000000 Binary files a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/gradle/wrapper/gradle-wrapper.properties b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 8707e8b5067..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip -networkTimeout=10000 -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.npmignore b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.npmignore deleted file mode 100644 index 999d88df693..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.npmignore +++ /dev/null @@ -1 +0,0 @@ -# empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 578f7a3c5f9..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.gitignore diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index daef441008b..53250c02696 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,4 +1,3 @@ -.npmignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-ethereum/package.json b/packages/cactus-plugin-ledger-connector-ethereum/package.json index 8e1d8d45752..96fd6321a44 100644 --- a/packages/cactus-plugin-ledger-connector-ethereum/package.json +++ b/packages/cactus-plugin-ledger-connector-ethereum/package.json @@ -57,7 +57,7 @@ "build:dev:backend:postbuild": "npm run copy-artillery-config", "copy-artillery-config": "cp -af ./src/test/typescript/benchmark/setup/geth-benchmark-config.yaml ./src/test/typescript/benchmark/setup/artillery-helper-functions.js ./dist/lib/test/typescript/benchmark/setup", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 57cdd7b74b9..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore diff --git a/packages/cactus-plugin-ledger-connector-fabric/package.json b/packages/cactus-plugin-ledger-connector-fabric/package.json index 2ec4de2a8c1..410bc85da69 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/package.json +++ b/packages/cactus-plugin-ledger-connector-fabric/package.json @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.gitignore b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.gitignore deleted file mode 100644 index 205d8013f46..00000000000 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -wwwroot/*.js -node_modules -typings -dist \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ecd97ff37fe..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-iroha/package.json b/packages/cactus-plugin-ledger-connector-iroha/package.json index 6ff499858bd..8b4113237e9 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/package.json +++ b/packages/cactus-plugin-ledger-connector-iroha/package.json @@ -47,7 +47,7 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 57cdd7b74b9..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore diff --git a/packages/cactus-plugin-ledger-connector-iroha2/package.json b/packages/cactus-plugin-ledger-connector-iroha2/package.json index bf5092c209b..070b642cd0b 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/package.json +++ b/packages/cactus-plugin-ledger-connector-iroha2/package.json @@ -43,7 +43,7 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected" + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore" }, "dependencies": { "@hyperledger/cactus-common": "2.0.0-alpha.2", diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 57cdd7b74b9..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore diff --git a/packages/cactus-plugin-ledger-connector-quorum/package.json b/packages/cactus-plugin-ledger-connector-quorum/package.json index de724e27f9e..9f35497895c 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/package.json +++ b/packages/cactus-plugin-ledger-connector-quorum/package.json @@ -49,7 +49,7 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 57cdd7b74b9..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore diff --git a/packages/cactus-plugin-ledger-connector-ubiquity/package.json b/packages/cactus-plugin-ledger-connector-ubiquity/package.json index 9c1c1a18a31..327b7f3826b 100644 --- a/packages/cactus-plugin-ledger-connector-ubiquity/package.json +++ b/packages/cactus-plugin-ledger-connector-ubiquity/package.json @@ -46,7 +46,7 @@ "scripts": { "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "tsc": "tsc --project ./tsconfig.json", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", diff --git a/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ecd97ff37fe..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-xdai/package.json b/packages/cactus-plugin-ledger-connector-xdai/package.json index 88f845fe8bb..377eef76aa1 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/package.json +++ b/packages/cactus-plugin-ledger-connector-xdai/package.json @@ -46,7 +46,7 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index 6ff76cf80a2..7484ee590a3 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -.npmignore -.gitignore -git_push.sh \ No newline at end of file diff --git a/packages/cactus-plugin-odap-hermes/package.json b/packages/cactus-plugin-odap-hermes/package.json index 3bfbdd8d9d4..d0a34484d90 100644 --- a/packages/cactus-plugin-odap-hermes/package.json +++ b/packages/cactus-plugin-odap-hermes/package.json @@ -41,8 +41,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "pretsc": "npm run generate-sdk", "tsc": "tsc --project ./tsconfig.json", "watch": "npm-watch" diff --git a/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore b/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore index 90544820c4b..7484ee590a3 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore +++ b/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore @@ -21,6 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -docs/** -gradle/** \ No newline at end of file diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.gitignore b/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.gitignore deleted file mode 100644 index 205d8013f46..00000000000 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -wwwroot/*.js -node_modules -typings -dist \ No newline at end of file diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ecd97ff37fe..7484ee590a3 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore \ No newline at end of file diff --git a/packages/cactus-plugin-persistence-ethereum/package.json b/packages/cactus-plugin-persistence-ethereum/package.json index 0b05a92a972..20848b50956 100644 --- a/packages/cactus-plugin-persistence-ethereum/package.json +++ b/packages/cactus-plugin-persistence-ethereum/package.json @@ -54,7 +54,7 @@ "codegen:openapi": "npm run generate-sdk", "copy-sql": "cp -raf ./src/main/sql ./dist/lib/main/", "copy-yarn-lock": "cp -af ../../yarn.lock ./dist/yarn.lock", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected" + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore" }, "dependencies": { "@ethersproject/abi": "5.7.0", diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-persistence-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ecd97ff37fe..7484ee590a3 100644 --- a/packages/cactus-plugin-persistence-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-persistence-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore \ No newline at end of file diff --git a/packages/cactus-plugin-persistence-fabric/package.json b/packages/cactus-plugin-persistence-fabric/package.json index 4b5cd029926..c578b593054 100644 --- a/packages/cactus-plugin-persistence-fabric/package.json +++ b/packages/cactus-plugin-persistence-fabric/package.json @@ -59,7 +59,7 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "copy-yarn-lock": "cp -af ../../yarn.lock ./dist/yarn.lock", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore b/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore index ecd97ff37fe..7484ee590a3 100644 --- a/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore +++ b/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore @@ -21,7 +21,3 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md - -git_push.sh -.npmignore -.gitignore \ No newline at end of file diff --git a/tools/clear-openapi-codegen-folders.js b/tools/clear-openapi-codegen-folders.js new file mode 100644 index 00000000000..4b2d22cc202 --- /dev/null +++ b/tools/clear-openapi-codegen-folders.js @@ -0,0 +1,43 @@ +import { globby } from "globby"; +import { rm } from "fs"; +import { readFile } from "fs/promises"; +import { dirname } from "path"; +import { fileURLToPath } from "url"; +import path from "path"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); +const LERNA_JSON = "lerna.json"; +const SCRIPT_DIR = __dirname; +const PROJECT_DIR = path.join(SCRIPT_DIR, "../"); +const OPENAPI_CODEGEN_PATHS = [ + "src/main/kotlin/generated/openapi/**", + "src/main/typescript/generated/openapi/typescript-axios/**", +]; +const lernaJsonStr = await readFile(PROJECT_DIR + LERNA_JSON, "utf-8"); +const lernaJson = JSON.parse(lernaJsonStr); + +let openapiGeneratorFilePatterns = []; +OPENAPI_CODEGEN_PATHS.forEach((OPENAPI_CODEGEN_PATH) => { + openapiGeneratorFilePatterns.push( + ...lernaJson.packages.map((it) => + "./".concat(it).concat(`/${OPENAPI_CODEGEN_PATH}`), + ), + ); +}); + +const globbyOptions = { + cwd: PROJECT_DIR, + absolute: true, +}; +const openapiGeneratorFilePaths = await globby( + openapiGeneratorFilePatterns, + globbyOptions, +); +console.log( + `Deleting openapi generator file paths (${openapiGeneratorFilePaths.length}): `, + openapiGeneratorFilePaths, +); +openapiGeneratorFilePaths.forEach((openapiGeneratorFilePath) => { + rm(openapiGeneratorFilePath, { recursive: true, force: true }, () => {}); +});