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 90e0f94867e..7683d1fe2dd 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 5a3b78468c2..e9064d09a51 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ 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-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts 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 11645b48205..853b47a364f 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 606a65a9a21..ab710e64d75 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ 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/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/package.json b/extensions/cactus-plugin-htlc-coordinator-besu/package.json index 30db294299f..b39011cf912 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-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/extensions/cactus-plugin-object-store-ipfs/package.json b/extensions/cactus-plugin-object-store-ipfs/package.json index dae4a789d6f..cebf4c70788 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index cf478b05623..6c4e60e11d5 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetObjectV1200Response.kt b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetObjectV1200Response.kt deleted file mode 100644 index 4cd2f5bc922..00000000000 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetObjectV1200Response.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to retrieve the value from the object store. - * @param `value` The value associated with the requested key in the object store as a string. - */ - - -data class GetObjectV1200Response ( - - /* The key that was used to retrieve the value from the object store. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value associated with the requested key in the object store as a string. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetObjectV1Request.kt b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetObjectV1Request.kt deleted file mode 100644 index 001fc1f1fe6..00000000000 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetObjectV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to get from the object store. - */ - - -data class GetObjectV1Request ( - - /* The key for the entry to get from the object store. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasObjectV1200Response.kt b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasObjectV1200Response.kt deleted file mode 100644 index 13d90483a20..00000000000 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasObjectV1200Response.kt +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to check the presence of the value in the object store. - * @param checkedAt Date and time encoded as JSON when the presence check was performed by the plugin backend. - * @param isPresent The boolean true or false indicating the presence or absence of an object under 'key'. - */ - - -data class HasObjectV1200Response ( - - /* The key that was used to check the presence of the value in the object store. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* Date and time encoded as JSON when the presence check was performed by the plugin backend. */ - @Json(name = "checkedAt") - val checkedAt: kotlin.Any?, - - /* The boolean true or false indicating the presence or absence of an object under 'key'. */ - @Json(name = "isPresent") - val isPresent: kotlin.Any? - -) - diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasObjectV1Request.kt b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasObjectV1Request.kt deleted file mode 100644 index 26f3addc310..00000000000 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasObjectV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key to check for presence in the object store. - */ - - -data class HasObjectV1Request ( - - /* The key to check for presence in the object store. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetObjectV1200Response.kt b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetObjectV1200Response.kt deleted file mode 100644 index 54d0ae942ca..00000000000 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetObjectV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to set the value in the object store. - */ - - -data class SetObjectV1200Response ( - - /* The key that was used to set the value in the object store. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetObjectV1Request.kt b/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetObjectV1Request.kt deleted file mode 100644 index 010f24e33b5..00000000000 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetObjectV1Request.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to set in the object store. - * @param `value` The value that will be associated with the key in the object store. - */ - - -data class SetObjectV1Request ( - - /* The key for the entry to set in the object store. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value that will be associated with the key in the object store. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - 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/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/openapi-generator-ignore b/openapi-generator-ignore new file mode 100644 index 00000000000..db57d959c06 --- /dev/null +++ b/openapi-generator-ignore @@ -0,0 +1,5 @@ +**/src/main/typescript/generated/openapi/typescript-axios/git_push.sh +**/src/main/typescript/generated/openapi/typescript-axios/.npmignore +**/src/main/typescript/generated/openapi/typescript-axios/.gitignore +**/src/main/kotlin/generated/openapi/kotlin-client/docs/** +**/src/main/kotlin/generated/openapi/kotlin-client/gradle/** \ No newline at end of file diff --git a/package.json b/package.json index 6c31a920232..01d21645415 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 4f7c28041c3..0c437d230b6 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 9354990b616..450ea17bc07 100644 --- a/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file 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-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-cmd-api-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-core-api/package.json b/packages/cactus-core-api/package.json index d165d14adf3..0bcdfdcdf44 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index a5d2479a178..6df87437730 100644 --- a/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ 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-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-core-api/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-consortium-manual/package.json b/packages/cactus-plugin-consortium-manual/package.json index 99e0ef2cb2a..279abd34166 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 56a034831a7..03def9d87a0 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetConsortiumJwsResponseJws.kt b/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetConsortiumJwsResponseJws.kt deleted file mode 100644 index 2ee2a869f61..00000000000 --- a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetConsortiumJwsResponseJws.kt +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * The JSON Web Signature of the Cactus consortium. - * - * @param payload - * @param signatures - */ - - -data class GetConsortiumJwsResponseJws ( - - @Json(name = "payload") - val payload: kotlin.Any?, - - @Json(name = "signatures") - val signatures: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetNodeJwsResponseJws.kt b/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetNodeJwsResponseJws.kt deleted file mode 100644 index e3b7778c80a..00000000000 --- a/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetNodeJwsResponseJws.kt +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * The JSON Web Signature of the Cactus node. - * - * @param payload - * @param signatures - */ - - -data class GetNodeJwsResponseJws ( - - @Json(name = "payload") - val payload: kotlin.Any?, - - @Json(name = "signatures") - val signatures: kotlin.Any? - -) - 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..9f6dc38e6cb 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,4 @@ -.gitignore +.openapi-generator-ignore 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 64bcb0381d0..8ddf1223849 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 9a355f61d1f..0a7198d3209 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetStatusRequestWeb3SigningCredential.kt b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetStatusRequestWeb3SigningCredential.kt deleted file mode 100644 index 269d02247ae..00000000000 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetStatusRequestWeb3SigningCredential.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param type - */ - - -interface GetStatusRequestWeb3SigningCredential { - - @Json(name = "type") - val type: GetStatusRequestWeb3SigningCredential.Type? - /** - * - * - * Values: cACTUSKEYCHAINREF,gETHKEYCHAINPASSWORD,pRIVATEKEYHEX,nONE - */ - enum class Type(val value: kotlin.Any) { - @Json(name = ""CACTUS_KEYCHAIN_REF"") cACTUSKEYCHAINREF("CACTUS_KEYCHAIN_REF"), - @Json(name = ""GETH_KEYCHAIN_PASSWORD"") gETHKEYCHAINPASSWORD("GETH_KEYCHAIN_PASSWORD"), - @Json(name = ""PRIVATE_KEY_HEX"") pRIVATEKEYHEX("PRIVATE_KEY_HEX"), - @Json(name = ""NONE"") nONE("NONE"); - } -} - diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeRequestWeb3SigningCredential.kt b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeRequestWeb3SigningCredential.kt deleted file mode 100644 index b622ffd5d7f..00000000000 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeRequestWeb3SigningCredential.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * Web3SigningCredential - * - * @param type - */ - - -interface InitializeRequestWeb3SigningCredential { - - @Json(name = "type") - val type: InitializeRequestWeb3SigningCredential.Type? - /** - * - * - * Values: cACTUSKEYCHAINREF,gETHKEYCHAINPASSWORD,pRIVATEKEYHEX,nONE - */ - enum class Type(val value: kotlin.Any) { - @Json(name = ""CACTUS_KEYCHAIN_REF"") cACTUSKEYCHAINREF("CACTUS_KEYCHAIN_REF"), - @Json(name = ""GETH_KEYCHAIN_PASSWORD"") gETHKEYCHAINPASSWORD("GETH_KEYCHAIN_PASSWORD"), - @Json(name = ""PRIVATE_KEY_HEX"") pRIVATEKEYHEX("PRIVATE_KEY_HEX"), - @Json(name = ""NONE"") nONE("NONE"); - } -} - diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeV1200Response.kt b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeV1200Response.kt deleted file mode 100644 index 208f09d936f..00000000000 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - -import org.openapitools.client.models.InitializeV1200ResponseTransactionReceipt - -import com.squareup.moshi.Json - -/** - * - * - * @param transactionReceipt - */ - - -data class InitializeV1200Response ( - - @Json(name = "transactionReceipt") - val transactionReceipt: InitializeV1200ResponseTransactionReceipt - -) - diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeV1200ResponseTransactionReceipt.kt b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeV1200ResponseTransactionReceipt.kt deleted file mode 100644 index 422ce1d5ee7..00000000000 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InitializeV1200ResponseTransactionReceipt.kt +++ /dev/null @@ -1,66 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param status - * @param transactionHash - * @param transactionIndex - * @param blockHash - * @param blockNumber - * @param gasUsed - * @param from - * @param to - * @param contractAddress - */ - - -data class InitializeV1200ResponseTransactionReceipt ( - - @Json(name = "status") - val status: kotlin.Any?, - - @Json(name = "transactionHash") - val transactionHash: kotlin.Any?, - - @Json(name = "transactionIndex") - val transactionIndex: kotlin.Any?, - - @Json(name = "blockHash") - val blockHash: kotlin.Any?, - - @Json(name = "blockNumber") - val blockNumber: kotlin.Any?, - - @Json(name = "gasUsed") - val gasUsed: kotlin.Any?, - - @Json(name = "from") - val from: kotlin.Any?, - - @Json(name = "to") - val to: kotlin.Any?, - - @Json(name = "contractAddress") - val contractAddress: kotlin.Any? = null - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/NewContractRequestWeb3SigningCredential.kt b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/NewContractRequestWeb3SigningCredential.kt deleted file mode 100644 index 11fc3a88582..00000000000 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/NewContractRequestWeb3SigningCredential.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * Web3SigningCredentialType - * - * @param type - */ - - -interface NewContractRequestWeb3SigningCredential { - - @Json(name = "type") - val type: NewContractRequestWeb3SigningCredential.Type? - /** - * - * - * Values: cACTUSKEYCHAINREF,gETHKEYCHAINPASSWORD,pRIVATEKEYHEX,nONE - */ - enum class Type(val value: kotlin.Any) { - @Json(name = ""CACTUS_KEYCHAIN_REF"") cACTUSKEYCHAINREF("CACTUS_KEYCHAIN_REF"), - @Json(name = ""GETH_KEYCHAIN_PASSWORD"") gETHKEYCHAINPASSWORD("GETH_KEYCHAIN_PASSWORD"), - @Json(name = ""PRIVATE_KEY_HEX"") pRIVATEKEYHEX("PRIVATE_KEY_HEX"), - @Json(name = ""NONE"") nONE("NONE"); - } -} - diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/WithdrawV1200Response.kt b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/WithdrawV1200Response.kt deleted file mode 100644 index 504e887e1a8..00000000000 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/WithdrawV1200Response.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - -import org.openapitools.client.models.InitializeV1200ResponseTransactionReceipt - -import com.squareup.moshi.Json - -/** - * - * - * @param success - * @param transactionReceipt - * @param callOutput - */ - - -data class WithdrawV1200Response ( - - @Json(name = "success") - val success: kotlin.Any?, - - @Json(name = "transactionReceipt") - val transactionReceipt: InitializeV1200ResponseTransactionReceipt? = null, - - @Json(name = "callOutput") - val callOutput: kotlin.Any? = null - -) - 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-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-htlc-eth-besu/package.json b/packages/cactus-plugin-htlc-eth-besu/package.json index eba35d03685..1a83b72bbdf 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-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-keychain-aws-sm/package.json b/packages/cactus-plugin-keychain-aws-sm/package.json index 2af4f155465..9ad9a135f22 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 15e43f61f34..790c6849e32 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt deleted file mode 100644 index 45f12af72b1..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was deleted from the keychain. - */ - - -data class DeleteKeychainEntryV1200Response ( - - /* The key that was deleted from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt deleted file mode 100644 index 62cb060edeb..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to check the presence of on the keychain. - */ - - -data class DeleteKeychainEntryV1Request ( - - /* The key for the entry to check the presence of on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt deleted file mode 100644 index fec44a98207..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to retrieve the value from the keychain. - * @param `value` The value associated with the requested key on the keychain. - */ - - -data class GetKeychainEntryV1200Response ( - - /* The key that was used to retrieve the value from the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value associated with the requested key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt deleted file mode 100644 index a25c8b7964f..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to get from the keychain. - */ - - -data class GetKeychainEntryV1Request ( - - /* The key for the entry to get from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt deleted file mode 100644 index 3c4033810df..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to check the presence of the value in the entry store. - * @param checkedAt Date and time encoded as JSON when the presence check was performed by the plugin backend. - * @param isPresent The boolean true or false indicating the presence or absence of an entry under 'key'. - */ - - -data class HasKeychainEntryV1200Response ( - - /* The key that was used to check the presence of the value in the entry store. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* Date and time encoded as JSON when the presence check was performed by the plugin backend. */ - @Json(name = "checkedAt") - val checkedAt: kotlin.Any?, - - /* The boolean true or false indicating the presence or absence of an entry under 'key'. */ - @Json(name = "isPresent") - val isPresent: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt deleted file mode 100644 index 070ebe1e8cd..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key to check for presence in the keychain. - */ - - -data class HasKeychainEntryV1Request ( - - /* The key to check for presence in the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt deleted file mode 100644 index 657cf31c723..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to set the value on the keychain. - */ - - -data class SetKeychainEntryV1200Response ( - - /* The key that was used to set the value on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt deleted file mode 100644 index 6f66b56500d..00000000000 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to set on the keychain. - * @param `value` The value that will be associated with the key on the keychain. - */ - - -data class SetKeychainEntryV1Request ( - - /* The key for the entry to set on the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value that will be associated with the key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - 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-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-keychain-azure-kv/package.json b/packages/cactus-plugin-keychain-azure-kv/package.json index 4afeda8acbf..3321049b498 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 15e43f61f34..790c6849e32 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt deleted file mode 100644 index 45f12af72b1..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was deleted from the keychain. - */ - - -data class DeleteKeychainEntryV1200Response ( - - /* The key that was deleted from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt deleted file mode 100644 index fd2ec33a6a2..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to check the presence of on the keychain. - */ - - -data class DeleteKeychainEntryV1Request ( - - /* The key for the entry to check the presence of on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryRequest.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryRequest.kt deleted file mode 100644 index e40ba72fb5d..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryRequest.kt +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key for the entry to get from the keychain. - */ - - -data class GetKeychainEntryRequest ( - - /* The key for the entry to get from the keychain. */ - @Json(name = "key") - val key: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryResponse.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryResponse.kt deleted file mode 100644 index 91b92b3f6dc..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryResponse.kt +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key that was used to retrieve the value from the keychain. - * @param `value` The value associated with the requested key on the keychain. - */ - - -data class GetKeychainEntryResponse ( - - /* The key that was used to retrieve the value from the keychain. */ - @Json(name = "key") - val key: kotlin.String, - - /* The value associated with the requested key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt deleted file mode 100644 index fec44a98207..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to retrieve the value from the keychain. - * @param `value` The value associated with the requested key on the keychain. - */ - - -data class GetKeychainEntryV1200Response ( - - /* The key that was used to retrieve the value from the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value associated with the requested key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt deleted file mode 100644 index e1fc60c694a..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to get from the keychain. - */ - - -data class GetKeychainEntryV1Request ( - - /* The key for the entry to get from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt deleted file mode 100644 index 3c4033810df..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to check the presence of the value in the entry store. - * @param checkedAt Date and time encoded as JSON when the presence check was performed by the plugin backend. - * @param isPresent The boolean true or false indicating the presence or absence of an entry under 'key'. - */ - - -data class HasKeychainEntryV1200Response ( - - /* The key that was used to check the presence of the value in the entry store. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* Date and time encoded as JSON when the presence check was performed by the plugin backend. */ - @Json(name = "checkedAt") - val checkedAt: kotlin.Any?, - - /* The boolean true or false indicating the presence or absence of an entry under 'key'. */ - @Json(name = "isPresent") - val isPresent: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt deleted file mode 100644 index 6a2d89856ca..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key to check for presence in the keychain. - */ - - -data class HasKeychainEntryV1Request ( - - /* The key to check for presence in the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryRequest.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryRequest.kt deleted file mode 100644 index b0b685e8574..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryRequest.kt +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key for the entry to set on the keychain. - * @param `value` The value that will be associated with the key on the keychain. - */ - - -data class SetKeychainEntryRequest ( - - /* The key for the entry to set on the keychain. */ - @Json(name = "key") - val key: kotlin.String, - - /* The value that will be associated with the key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryResponse.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryResponse.kt deleted file mode 100644 index 329b850d2ea..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryResponse.kt +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key that was used to set the value on the keychain. - */ - - -data class SetKeychainEntryResponse ( - - /* The key that was used to set the value on the keychain. */ - @Json(name = "key") - val key: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt deleted file mode 100644 index 657cf31c723..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to set the value on the keychain. - */ - - -data class SetKeychainEntryV1200Response ( - - /* The key that was used to set the value on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt deleted file mode 100644 index c17cb389b17..00000000000 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to set on the keychain. - * @param `value` The value that will be associated with the key on the keychain. - */ - - -data class SetKeychainEntryV1Request ( - - /* The key for the entry to set on the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value that will be associated with the key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - 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-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-keychain-google-sm/package.json b/packages/cactus-plugin-keychain-google-sm/package.json index 1c5fc0dadc1..e234ca20b62 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 15e43f61f34..790c6849e32 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt deleted file mode 100644 index 45f12af72b1..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was deleted from the keychain. - */ - - -data class DeleteKeychainEntryV1200Response ( - - /* The key that was deleted from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt deleted file mode 100644 index 62cb060edeb..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to check the presence of on the keychain. - */ - - -data class DeleteKeychainEntryV1Request ( - - /* The key for the entry to check the presence of on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt deleted file mode 100644 index fec44a98207..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to retrieve the value from the keychain. - * @param `value` The value associated with the requested key on the keychain. - */ - - -data class GetKeychainEntryV1200Response ( - - /* The key that was used to retrieve the value from the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value associated with the requested key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt deleted file mode 100644 index a25c8b7964f..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to get from the keychain. - */ - - -data class GetKeychainEntryV1Request ( - - /* The key for the entry to get from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt deleted file mode 100644 index 3c4033810df..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to check the presence of the value in the entry store. - * @param checkedAt Date and time encoded as JSON when the presence check was performed by the plugin backend. - * @param isPresent The boolean true or false indicating the presence or absence of an entry under 'key'. - */ - - -data class HasKeychainEntryV1200Response ( - - /* The key that was used to check the presence of the value in the entry store. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* Date and time encoded as JSON when the presence check was performed by the plugin backend. */ - @Json(name = "checkedAt") - val checkedAt: kotlin.Any?, - - /* The boolean true or false indicating the presence or absence of an entry under 'key'. */ - @Json(name = "isPresent") - val isPresent: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt deleted file mode 100644 index 070ebe1e8cd..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key to check for presence in the keychain. - */ - - -data class HasKeychainEntryV1Request ( - - /* The key to check for presence in the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt deleted file mode 100644 index 657cf31c723..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to set the value on the keychain. - */ - - -data class SetKeychainEntryV1200Response ( - - /* The key that was used to set the value on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt deleted file mode 100644 index 6f66b56500d..00000000000 --- a/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to set on the keychain. - * @param `value` The value that will be associated with the key on the keychain. - */ - - -data class SetKeychainEntryV1Request ( - - /* The key for the entry to set on the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value that will be associated with the key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - 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-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-keychain-memory-wasm/package.json b/packages/cactus-plugin-keychain-memory-wasm/package.json index ba09c7a925f..531f4517bbd 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 15e43f61f34..790c6849e32 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt deleted file mode 100644 index 45f12af72b1..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was deleted from the keychain. - */ - - -data class DeleteKeychainEntryV1200Response ( - - /* The key that was deleted from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt deleted file mode 100644 index 62cb060edeb..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/DeleteKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to check the presence of on the keychain. - */ - - -data class DeleteKeychainEntryV1Request ( - - /* The key for the entry to check the presence of on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt deleted file mode 100644 index fec44a98207..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to retrieve the value from the keychain. - * @param `value` The value associated with the requested key on the keychain. - */ - - -data class GetKeychainEntryV1200Response ( - - /* The key that was used to retrieve the value from the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value associated with the requested key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt deleted file mode 100644 index a25c8b7964f..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to get from the keychain. - */ - - -data class GetKeychainEntryV1Request ( - - /* The key for the entry to get from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt deleted file mode 100644 index 3c4033810df..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1200Response.kt +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to check the presence of the value in the entry store. - * @param checkedAt Date and time encoded as JSON when the presence check was performed by the plugin backend. - * @param isPresent The boolean true or false indicating the presence or absence of an entry under 'key'. - */ - - -data class HasKeychainEntryV1200Response ( - - /* The key that was used to check the presence of the value in the entry store. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* Date and time encoded as JSON when the presence check was performed by the plugin backend. */ - @Json(name = "checkedAt") - val checkedAt: kotlin.Any?, - - /* The boolean true or false indicating the presence or absence of an entry under 'key'. */ - @Json(name = "isPresent") - val isPresent: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt deleted file mode 100644 index 070ebe1e8cd..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/HasKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key to check for presence in the keychain. - */ - - -data class HasKeychainEntryV1Request ( - - /* The key to check for presence in the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt deleted file mode 100644 index 657cf31c723..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to set the value on the keychain. - */ - - -data class SetKeychainEntryV1200Response ( - - /* The key that was used to set the value on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt deleted file mode 100644 index 6f66b56500d..00000000000 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to set on the keychain. - * @param `value` The value that will be associated with the key on the keychain. - */ - - -data class SetKeychainEntryV1Request ( - - /* The key for the entry to set on the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value that will be associated with the key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) : kotlin.collections.HashMap<String, kotlin.Any>() - 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-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-keychain-memory/package.json b/packages/cactus-plugin-keychain-memory/package.json index 20441111259..92d13109ce1 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index f95b7cb0803..1cb49df9cc1 100644 --- a/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ 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-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-keychain-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-keychain-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-memory/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-keychain-vault/package.json b/packages/cactus-plugin-keychain-vault/package.json index aff2bb422d7..137b6ef160a 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 15e43f61f34..790c6849e32 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryRequest.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryRequest.kt deleted file mode 100644 index e40ba72fb5d..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryRequest.kt +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key for the entry to get from the keychain. - */ - - -data class GetKeychainEntryRequest ( - - /* The key for the entry to get from the keychain. */ - @Json(name = "key") - val key: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryResponse.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryResponse.kt deleted file mode 100644 index 91b92b3f6dc..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryResponse.kt +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key that was used to retrieve the value from the keychain. - * @param `value` The value associated with the requested key on the keychain. - */ - - -data class GetKeychainEntryResponse ( - - /* The key that was used to retrieve the value from the keychain. */ - @Json(name = "key") - val key: kotlin.String, - - /* The value associated with the requested key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt deleted file mode 100644 index fec44a98207..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to retrieve the value from the keychain. - * @param `value` The value associated with the requested key on the keychain. - */ - - -data class GetKeychainEntryV1200Response ( - - /* The key that was used to retrieve the value from the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value associated with the requested key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt deleted file mode 100644 index e1fc60c694a..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetKeychainEntryV1Request.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to get from the keychain. - */ - - -data class GetKeychainEntryV1Request ( - - /* The key for the entry to get from the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryRequest.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryRequest.kt deleted file mode 100644 index b0b685e8574..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryRequest.kt +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key for the entry to set on the keychain. - * @param `value` The value that will be associated with the key on the keychain. - */ - - -data class SetKeychainEntryRequest ( - - /* The key for the entry to set on the keychain. */ - @Json(name = "key") - val key: kotlin.String, - - /* The value that will be associated with the key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryResponse.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryResponse.kt deleted file mode 100644 index 329b850d2ea..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryResponse.kt +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json -import com.squareup.moshi.JsonClass - -/** - * - * - * @param key The key that was used to set the value on the keychain. - */ - - -data class SetKeychainEntryResponse ( - - /* The key that was used to set the value on the keychain. */ - @Json(name = "key") - val key: kotlin.String - -) - diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt deleted file mode 100644 index 657cf31c723..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1200Response.kt +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key that was used to set the value on the keychain. - */ - - -data class SetKeychainEntryV1200Response ( - - /* The key that was used to set the value on the keychain. */ - @Json(name = "key") - val key: kotlin.Any? - -) - diff --git a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt b/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt deleted file mode 100644 index c17cb389b17..00000000000 --- a/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/SetKeychainEntryV1Request.kt +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param key The key for the entry to set on the keychain. - * @param `value` The value that will be associated with the key on the keychain. - */ - - -data class SetKeychainEntryV1Request ( - - /* The key for the entry to set on the keychain. */ - @Json(name = "key") - val key: kotlin.Any?, - - /* The value that will be associated with the key on the keychain. */ - @Json(name = "value") - val `value`: kotlin.Any? - -) - 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-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-besu/package.json b/packages/cactus-plugin-ledger-connector-besu/package.json index ce387fdbb1b..de61aec7ef4 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-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-corda/package.json b/packages/cactus-plugin-ledger-connector-corda/package.json index 699d42833f0..52f8b61e35c 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..fd374b64dbc 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,6 @@ +.openapi-generator-ignore 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 - - -<a id="clearMonitorTransactionsV1"></a> -# **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 - -<a id="deployContractJarsV1"></a> -# **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 - -<a id="diagnoseNodeV1"></a> -# **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 - -<a id="getMonitorTransactionsV1"></a> -# **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 - -<a id="getPrometheusMetricsV1"></a> -# **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 - -<a id="invokeContractV1"></a> -# **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 - -<a id="listFlowsV1"></a> -# **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 - -<a id="networkMapV1"></a> -# **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<NodeInfo> = 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 - -<a id="startMonitorV1"></a> -# **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 - -<a id="stopMonitorV1"></a> -# **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/GetMonitorTransactionsV1ResponseTx.md b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1ResponseTx.md deleted file mode 100644 index 33c7fb2f855..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/docs/GetMonitorTransactionsV1ResponseTx.md +++ /dev/null @@ -1,11 +0,0 @@ - -# GetMonitorTransactionsV1ResponseTx - -## 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/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/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetMonitorTransactionsV1ResponseTx.kt b/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetMonitorTransactionsV1ResponseTx.kt deleted file mode 100644 index a2e996564f8..00000000000 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/GetMonitorTransactionsV1ResponseTx.kt +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Hyperledger Cactus Plugin - Connector Corda - * - * Can perform basic tasks on a Corda ledger - * - * The version of the OpenAPI document: 0.3.0 - * - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param index - * @param `data` - */ - -data class GetMonitorTransactionsV1ResponseTx ( - - @Json(name = "index") - val index: kotlin.String? = null, - - @Json(name = "data") - val `data`: kotlin.String? = null - -) - 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..9f6dc38e6cb 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,4 @@ -.npmignore +.openapi-generator-ignore 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 f053715ded1..1474407406e 100644 --- a/packages/cactus-plugin-ledger-connector-ethereum/package.json +++ b/packages/cactus-plugin-ledger-connector-ethereum/package.json @@ -54,7 +54,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-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-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-fabric/package.json b/packages/cactus-plugin-ledger-connector-fabric/package.json index e343823a4fc..1c4f681ca6b 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 13fe3a3422c..7608b6cf393 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InlineResponse501.kt b/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InlineResponse501.kt deleted file mode 100644 index 93b79b593cd..00000000000 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/models/InlineResponse501.kt +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Hyperledger Cactus Plugin - Connector Fabric - * - * Can perform basic tasks on a fabric ledger - * - * The version of the OpenAPI document: 0.0.1 - * - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - */ - -@file:Suppress( - "ArrayInDataClass", - "EnumEntryName", - "RemoveRedundantQualifierName", - "UnusedImport" -) - -package org.openapitools.client.models - - -import com.squareup.moshi.Json - -/** - * - * - * @param message - */ - -data class InlineResponse501 ( - - @Json(name = "message") - val message: kotlin.String? = null - -) - 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-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-iroha/package.json b/packages/cactus-plugin-ledger-connector-iroha/package.json index d7efc7a686e..fdf2732c0ee 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-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-iroha2/package.json b/packages/cactus-plugin-ledger-connector-iroha2/package.json index 72630f7f19f..07e2c6d7b50 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-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-quorum/package.json b/packages/cactus-plugin-ledger-connector-quorum/package.json index def58bd0fc6..49ab63273a3 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-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-ubiquity/package.json b/packages/cactus-plugin-ledger-connector-ubiquity/package.json index 20e71fdc11a..7d1809d4f5b 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-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-ledger-connector-xdai/package.json b/packages/cactus-plugin-ledger-connector-xdai/package.json index 488a7915c42..c2ecf10cf20 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-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-odap-hermes/package.json b/packages/cactus-plugin-odap-hermes/package.json index c52ed1d53bc..8e3f26d830a 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/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES b/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES index 54b948c8a59..7c3a6673a55 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES +++ b/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore README.md build.gradle gradlew diff --git a/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt b/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt deleted file mode 100644 index 9dc8d8dbbfa..00000000000 --- a/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.client.infrastructure - -enum class ResponseType { - Success, Informational, Redirection, ClientError, ServerError -} - -interface Response - -abstract class ApiInfrastructureResponse<T>(val responseType: ResponseType): Response { - abstract val statusCode: Int - abstract val headers: Map<String,List<String>> -} - -class Success<T>( - val data: T, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -): ApiInfrastructureResponse<T>(ResponseType.Success) - -class Informational<T>( - val statusText: String, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Informational) - -class Redirection<T>( - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.Redirection) - -class ClientError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> = mapOf() -) : ApiInfrastructureResponse<T>(ResponseType.ClientError) - -class ServerError<T>( - val message: String? = null, - val body: Any? = null, - override val statusCode: Int = -1, - override val headers: Map<String, List<String>> -): ApiInfrastructureResponse<T>(ResponseType.ServerError) \ 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-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-persistence-ethereum/package.json b/packages/cactus-plugin-persistence-ethereum/package.json index 6b054e9d81f..e0eb61c9465 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-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-persistence-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-persistence-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-persistence-ethereum/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/packages/cactus-plugin-persistence-fabric/package.json b/packages/cactus-plugin-persistence-fabric/package.json index 64b5ca513b5..9a9deada7c3 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/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES b/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES index 53250c02696..9f6dc38e6cb 100644 --- a/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES +++ b/packages/cactus-plugin-persistence-fabric/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES @@ -1,3 +1,4 @@ +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/tools/clear-openapi-codegen-folders.js b/tools/clear-openapi-codegen-folders.js new file mode 100644 index 00000000000..9ba89e775d3 --- /dev/null +++ b/tools/clear-openapi-codegen-folders.js @@ -0,0 +1,15 @@ +import {globby} from "globby"; +import { rm } from "fs"; + +const openapiCodegenPaths = [ + "*/*/src/main/kotlin/generated/openapi/*", + "*/*/src/main/typescript/generated/openapi/typescript-axios/**" +] + +let paths = await globby(openapiCodegenPaths,{gitignore: true, onlyDirectories: true}); +if (paths.length!=0){ + for (let i in paths) { + paths[i] = "./" + paths[i]; + rm(paths[i], { recursive: true, force: true }, () => {}) + } +} diff --git a/yarn.lock b/yarn.lock index 24ee6cb6f45..a9e2e84a0b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5343,7 +5343,7 @@ __metadata: autoprefixer: 10.4.8 chart.js: 3.9.1 moment: 2.29.4 - postcss: 8.4.16 + postcss: 8.4.31 solid-apexcharts: 0.1.6 solid-icons: 1.0.4 solid-js: 1.5.7 @@ -6761,7 +6761,7 @@ __metadata: cbor: 6.0.1 config: 3.3.7 cookie-parser: 1.4.6 - debug: 4.1.1 + debug: 4.3.1 express: 4.17.3 js-yaml: 3.14.1 jsonwebtoken: 8.5.1 @@ -17900,12 +17900,15 @@ __metadata: languageName: node linkType: hard -"debug@npm:4.1.1": - version: 4.1.1 - resolution: "debug@npm:4.1.1" +"debug@npm:4.3.1": + version: 4.3.1 + resolution: "debug@npm:4.3.1" dependencies: - ms: ^2.1.1 - checksum: 1e681f5cce94ba10f8dde74b20b42e4d8cf0d2a6700f4c165bb3bb6885565ef5ca5885bf07e704974a835f2415ff095a63164f539988a1f07e8a69fe8b1d65ad + ms: 2.1.2 + peerDependenciesMeta: + supports-color: + optional: true + checksum: 2c3352e37d5c46b0d203317cd45ea0e26b2c99f2d9dfec8b128e6ceba90dfb65425f5331bf3020fe9929d7da8c16758e737f4f3bfc0fce6b8b3d503bae03298b languageName: node linkType: hard @@ -34257,25 +34260,25 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.16": - version: 8.4.16 - resolution: "postcss@npm:8.4.16" +"postcss@npm:8.4.27": + version: 8.4.27 + resolution: "postcss@npm:8.4.27" dependencies: - nanoid: ^3.3.4 + nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 10eee25efd77868036403858577da0cefaf2e0905feeaba5770d5438ccdddba3d01cba8063e96b8aac4c6daa0ed413dd5ae0554a433a3c4db38df1d134cffc1f + checksum: 1cdd0c298849df6cd65f7e646a3ba36870a37b65f55fd59d1a165539c263e9b4872a402bf4ed1ca1bc31f58b68b2835545e33ea1a23b161a1f8aa6d5ded81e78 languageName: node linkType: hard -"postcss@npm:8.4.27": - version: 8.4.27 - resolution: "postcss@npm:8.4.27" +"postcss@npm:8.4.31": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 1cdd0c298849df6cd65f7e646a3ba36870a37b65f55fd59d1a165539c263e9b4872a402bf4ed1ca1bc31f58b68b2835545e33ea1a23b161a1f8aa6d5ded81e78 + checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea languageName: node linkType: hard