diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json index e68573fb72..50adc5cfcf 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json @@ -155,7 +155,7 @@ "post": { "operationId": "enrollAdminV1", "summary": "Registers an admin account within the Fabric organization specified.", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "authz": { "isProtected": true, "requiredRoles": ["group:admin"] @@ -192,7 +192,7 @@ "post": { "operationId": "daoTokenGetAllowanceV1", "summary": "Get the number of tokens `spender` is approved to spend on behalf of `account`", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-example-carbon-accounting-backend/dao-token/get-allowance" diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/dao-token/get-allowance-endpoint.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/dao-token/get-allowance-endpoint.ts index 1b2c743a10..5413d8b9ee 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/dao-token/get-allowance-endpoint.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/dao-token/get-allowance-endpoint.ts @@ -63,11 +63,11 @@ export class GetAllowanceEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/utility-emissions-channel/enroll-admin-v1-endpoint.ts b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/utility-emissions-channel/enroll-admin-v1-endpoint.ts index a69e5ff052..f0e6999302 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/utility-emissions-channel/enroll-admin-v1-endpoint.ts +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/utility-emissions-channel/enroll-admin-v1-endpoint.ts @@ -48,7 +48,7 @@ export class EnrollAdminV1Endpoint implements IWebServiceEndpoint { getAuthorizationOptionsProvider(): IAsyncProvider { return { - get: async () => this.oasPath.post["x-hyperledger-cactus"].authz, + get: async () => this.oasPath.post["x-hyperledger-cacti"].authz, }; } @@ -57,11 +57,11 @@ export class EnrollAdminV1Endpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json index d530c69b5b..34bda9ec34 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json @@ -215,7 +215,7 @@ "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/insert-bookshelf": { "post": { "operationId": "insertBookshelfV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/insert-bookshelf" @@ -249,7 +249,7 @@ "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/list-bookshelf": { "get": { "operationId": "listBookshelfV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/list-bookshelf" @@ -273,7 +273,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/insert-shipment": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/insert-shipment" @@ -307,7 +307,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/list-shipment": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/list-shipment" @@ -333,7 +333,7 @@ "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/insert-bamboo-harvest": { "post": { "operationId": "insertBambooHarvestV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/insert-bamboo-harvest" @@ -367,7 +367,7 @@ "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/list-bamboo-harvest": { "get": { "operationId": "listBambooHarvestV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-example-supply-chain-backend/list-bamboo-harvest" diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bamboo-harvest-endpoint.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bamboo-harvest-endpoint.ts index fd3fb8ecea..1927cb8a36 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bamboo-harvest-endpoint.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bamboo-harvest-endpoint.ts @@ -94,12 +94,12 @@ export class InsertBambooHarvestEndpoint implements IWebServiceEndpoint { public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bookshelf-endpoint.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bookshelf-endpoint.ts index 3af9b20657..c6b4224c4b 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bookshelf-endpoint.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-bookshelf-endpoint.ts @@ -82,12 +82,12 @@ export class InsertBookshelfEndpoint implements IWebServiceEndpoint { public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-shipment-endpoint.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-shipment-endpoint.ts index dafb28909a..6b651b7f17 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-shipment-endpoint.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/insert-shipment-endpoint.ts @@ -75,12 +75,12 @@ export class InsertShipmentEndpoint implements IWebServiceEndpoint { getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bamboo-harvest-endpoint.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bamboo-harvest-endpoint.ts index 2cab5446e9..dde4d92d1a 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bamboo-harvest-endpoint.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bamboo-harvest-endpoint.ts @@ -81,12 +81,12 @@ export class ListBambooHarvestEndpoint implements IWebServiceEndpoint { public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.path; + return apiPath.get["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bookshelf-endpoint.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bookshelf-endpoint.ts index 3b35bf99c2..bf13e2aa52 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bookshelf-endpoint.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-bookshelf-endpoint.ts @@ -79,12 +79,12 @@ export class ListBookshelfEndpoint implements IWebServiceEndpoint { public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.path; + return apiPath.get["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-shipment-endpoint.ts b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-shipment-endpoint.ts index a091286d14..22c3c7c461 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-shipment-endpoint.ts +++ b/examples/cactus-example-supply-chain-business-logic-plugin/src/main/typescript/business-logic-plugin/web-services/list-shipment-endpoint.ts @@ -46,12 +46,12 @@ export class ListShipmentEndpoint implements IWebServiceEndpoint { getPath(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.path; + return apiPath.get["x-hyperledger-cacti"].http.path; } getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/json/openapi.json b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/json/openapi.json index 9859fd7db5..edec3d3232 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/json/openapi.json +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/json/openapi.json @@ -213,7 +213,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/own-htlc": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/own-htlc" @@ -245,7 +245,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/counterparty-htlc": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/counterparty-htlc" @@ -277,7 +277,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/withdraw-counterparty": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/withdraw-counterparty" diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/counterparty-htlc-endpoint.ts b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/counterparty-htlc-endpoint.ts index 81d567ce18..76291dcb3a 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/counterparty-htlc-endpoint.ts +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/counterparty-htlc-endpoint.ts @@ -55,12 +55,12 @@ export class CounterpartyHTLCEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/own-htlc-endpoint.ts b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/own-htlc-endpoint.ts index 4d7d53501e..db8819867d 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/own-htlc-endpoint.ts +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/own-htlc-endpoint.ts @@ -55,12 +55,12 @@ export class OwnHTLCEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/withdraw-counterparty-endpoint.ts b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/withdraw-counterparty-endpoint.ts index 9d3901981e..df0f6b675b 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/withdraw-counterparty-endpoint.ts +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/typescript/web-services/withdraw-counterparty-endpoint.ts @@ -57,12 +57,12 @@ export class WithdrawCounterpartyEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/json/openapi.json b/extensions/cactus-plugin-object-store-ipfs/src/main/json/openapi.json index 8f0054f89a..4ac6433c45 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/json/openapi.json +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/json/openapi.json @@ -37,7 +37,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/get-object": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/get-object" @@ -58,7 +58,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/set-object": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/set-object" @@ -79,7 +79,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/has-object": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/has-object" diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/get-object-endpoint-v1.ts b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/get-object-endpoint-v1.ts index 6003ffef6e..427fa0f201 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/get-object-endpoint-v1.ts +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/get-object-endpoint-v1.ts @@ -72,11 +72,11 @@ export class GetObjectEndpointV1 implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.getOperation()["x-hyperledger-cactus"].http.verbLowerCase; + return this.getOperation()["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.getOperation()["x-hyperledger-cactus"].http.path; + return this.getOperation()["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/has-object-endpoint-v1.ts b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/has-object-endpoint-v1.ts index c7ba958930..3ae6b08967 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/has-object-endpoint-v1.ts +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/has-object-endpoint-v1.ts @@ -72,11 +72,11 @@ export class HasObjectEndpointV1 implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.getOperation()["x-hyperledger-cactus"].http.verbLowerCase; + return this.getOperation()["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.getOperation()["x-hyperledger-cactus"].http.path; + return this.getOperation()["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/set-object-endpoint-v1.ts b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/set-object-endpoint-v1.ts index 2abae0dd40..e0e97d8b80 100644 --- a/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/set-object-endpoint-v1.ts +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/typescript/web-services/set-object-endpoint-v1.ts @@ -72,11 +72,11 @@ export class SetObjectEndpointV1 implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.getOperation()["x-hyperledger-cactus"].http.verbLowerCase; + return this.getOperation()["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.getOperation()["x-hyperledger-cactus"].http.path; + return this.getOperation()["x-hyperledger-cacti"].http.path; } public getExpressRequestHandler(): IExpressRequestHandler { diff --git a/packages/cactus-cmd-api-server/src/main/json/openapi.json b/packages/cactus-cmd-api-server/src/main/json/openapi.json index 03b1f9d5c3..380d2110d0 100644 --- a/packages/cactus-cmd-api-server/src/main/json/openapi.json +++ b/packages/cactus-cmd-api-server/src/main/json/openapi.json @@ -83,7 +83,7 @@ "get": { "summary": "Can be used to verify liveness of an API server instance", "description": "Returns the current timestamp of the API server as proof of health/liveness", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/api-server/healthcheck" @@ -107,7 +107,7 @@ }, "/api/v1/api-server/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/api-server/get-prometheus-exporter-metrics" @@ -133,7 +133,7 @@ "/api/v1/api-server/get-open-api-spec": { "get": { "description": "Returns the openapi.json document of specific plugin.", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/api-server/get-open-api-spec" diff --git a/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts b/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts index c455801aff..9197f0253f 100644 --- a/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts +++ b/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts @@ -577,9 +577,9 @@ export class ApiServer { oas: OAS, oasPath, operationId, - path: oasPath.get["x-hyperledger-cactus"].http.path, + path: oasPath.get["x-hyperledger-cacti"].http.path, pluginRegistry, - verbLowerCase: oasPath.get["x-hyperledger-cactus"].http.verbLowerCase, + verbLowerCase: oasPath.get["x-hyperledger-cacti"].http.verbLowerCase, logLevel, }; const endpoint = new GetOpenApiSpecV1Endpoint(opts); @@ -595,7 +595,7 @@ export class ApiServer { }; const { "/api/v1/api-server/healthcheck": oasPath } = OAS.paths; - const { http } = oasPath.get["x-hyperledger-cactus"]; + const { http } = oasPath.get["x-hyperledger-cacti"]; const { path: httpPath, verbLowerCase: httpVerb } = http; if (!isExpressHttpVerbMethodName(httpVerb)) { const eMsg = `${fnTag} Invalid HTTP verb "${httpVerb}" in cmd-api-server OpenAPI specification for HTTP path: "${httpPath}"`; @@ -634,7 +634,7 @@ export class ApiServer { } = OAS.paths; const { http: httpPrometheus } = - oasPathPrometheus.get["x-hyperledger-cactus"]; + oasPathPrometheus.get["x-hyperledger-cacti"]; const { path: httpPathPrometheus, verbLowerCase: httpVerbPrometheus } = httpPrometheus; diff --git a/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/deploy-contract-endpoint.ts b/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/deploy-contract-endpoint.ts index f74c2f6e98..2265770655 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/deploy-contract-endpoint.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/deploy-contract-endpoint.ts @@ -47,7 +47,7 @@ export class DeployContractEndpoint implements IWebServiceEndpoint { return { post: { operationId: "deployContractV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { http: { path: "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-stub/deploy-contract-stub", verbLowerCase: "post", @@ -59,12 +59,12 @@ export class DeployContractEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/run-transaction-endpoint.ts b/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/run-transaction-endpoint.ts index 88eb0dab1b..ccca8e338f 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/run-transaction-endpoint.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/run-transaction-endpoint.ts @@ -45,7 +45,7 @@ export class RunTransactionEndpoint implements IWebServiceEndpoint { return { post: { operationId: "runTransactionV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { http: { path: "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-stub/run-transaction", verbLowerCase: "post", @@ -57,12 +57,12 @@ export class RunTransactionEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/unprotected-action-endpoint.ts b/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/unprotected-action-endpoint.ts index a90998e505..7b55bb6d0c 100644 --- a/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/unprotected-action-endpoint.ts +++ b/packages/cactus-cmd-api-server/src/test/typescript/fixtures/plugin-ledger-connector-stub/web-services/unprotected-action-endpoint.ts @@ -50,7 +50,7 @@ export class UnprotectedActionEndpoint implements IWebServiceEndpoint { return { post: { operationId: "runTransactionV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { http: { path: "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-stub/unprotected-action", verbLowerCase: "post", @@ -62,12 +62,12 @@ export class UnprotectedActionEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-core/src/main/typescript/web-services/get-open-api-spec-v1-endpoint-base.ts b/packages/cactus-core/src/main/typescript/web-services/get-open-api-spec-v1-endpoint-base.ts index ae09b19c8e..42df17b5ac 100644 --- a/packages/cactus-core/src/main/typescript/web-services/get-open-api-spec-v1-endpoint-base.ts +++ b/packages/cactus-core/src/main/typescript/web-services/get-open-api-spec-v1-endpoint-base.ts @@ -87,7 +87,7 @@ export interface IGetOpenApiSpecV1EndpointBaseOptions { * ```json * "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec": { * "get": { - * "x-hyperledger-cactus": { + * "x-hyperledger-cacti": { * "http": { * "verbLowerCase": "get", * "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec" diff --git a/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json b/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json index 36e9f2545a..cfcb44bcef 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json +++ b/packages/cactus-plugin-consortium-manual/src/main/json/openapi.json @@ -53,7 +53,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/consortium/jws": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/consortium/jws" @@ -88,7 +88,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/node/jws": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/node/jws" @@ -122,7 +122,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-consortium-jws-endpoint-v1.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-consortium-jws-endpoint-v1.ts index 3e39e2002d..5414a64c0d 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-consortium-jws-endpoint-v1.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-consortium-jws-endpoint-v1.ts @@ -83,11 +83,11 @@ export class GetConsortiumEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public async registerExpress( diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-node-jws-endpoint-v1.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-node-jws-endpoint-v1.ts index a3d2388eaf..9fd091fa9d 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-node-jws-endpoint-v1.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-node-jws-endpoint-v1.ts @@ -81,11 +81,11 @@ export class GetNodeJwsEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public async registerExpress( diff --git a/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-prometheus-exporter-metrics-endpoint-v1.ts index a2f5d9f770..8f1bd53806 100644 --- a/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-consortium-manual/src/main/typescript/consortium/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -65,11 +65,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/json/openapi.json b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/json/openapi.json index 203bc48c5f..8c7f155a6b 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/json/openapi.json +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/json/openapi.json @@ -309,7 +309,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/initialize": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/initialize" @@ -343,7 +343,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/withdraw": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/withdraw" @@ -377,7 +377,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-status": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-status" @@ -403,7 +403,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-single-status": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-single-status" @@ -429,7 +429,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/refund": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/refund" @@ -463,7 +463,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/new-contract": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/new-contract" diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-single-status-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-single-status-endpoint.ts index f9fbff4518..3313d84e07 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-single-status-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-single-status-endpoint.ts @@ -42,11 +42,11 @@ export class GetSingleStatusEndpoint implements IWebServiceEndpoint { ]; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-status-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-status-endpoint.ts index bff8b54b21..cdbb364b20 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-status-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/get-status-endpoint.ts @@ -44,11 +44,11 @@ export class GetStatusEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/initialize-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/initialize-endpoint.ts index fc2cb82cfa..20a3a7d365 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/initialize-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/initialize-endpoint.ts @@ -48,11 +48,11 @@ export class InitializeEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/new-contract-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/new-contract-endpoint.ts index 92551e551a..c1a2f50897 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/new-contract-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/new-contract-endpoint.ts @@ -44,11 +44,11 @@ export class NewContractEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/refund-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/refund-endpoint.ts index 4654a3be56..f8f816b359 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/refund-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/refund-endpoint.ts @@ -44,11 +44,11 @@ export class RefundEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/withdraw-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/withdraw-endpoint.ts index ce431c68a3..e5ffbef089 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/withdraw-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/typescript/web-services/withdraw-endpoint.ts @@ -44,11 +44,11 @@ export class WithdrawEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/json/openapi.json b/packages/cactus-plugin-htlc-eth-besu/src/main/json/openapi.json index 5ac7c95ad9..2239c19ffc 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/json/openapi.json +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/json/openapi.json @@ -284,7 +284,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/new-contract": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/new-contract" @@ -316,7 +316,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/withdraw": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/withdraw" @@ -348,7 +348,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/refund": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/refund" @@ -381,7 +381,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-status": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-status" @@ -407,7 +407,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-single-status": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-single-status" @@ -433,7 +433,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/initialize": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/initialize" diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-single-status-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-single-status-endpoint.ts index 74b4d84539..0ad4a28d9e 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-single-status-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-single-status-endpoint.ts @@ -42,11 +42,11 @@ export class GetSingleStatusEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-status-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-status-endpoint.ts index 668dfd003d..5b6eab8796 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-status-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/get-status-endpoint.ts @@ -41,11 +41,11 @@ export class GetStatusEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/initialize-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/initialize-endpoint.ts index 400eb5eb42..46a5d95c61 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/initialize-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/initialize-endpoint.ts @@ -45,11 +45,11 @@ export class InitializeEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/new-contract-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/new-contract-endpoint.ts index fd8caf3c44..fb32c1d127 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/new-contract-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/new-contract-endpoint.ts @@ -43,11 +43,11 @@ export class NewContractEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/refund-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/refund-endpoint.ts index decbfb9a46..e30e7083d1 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/refund-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/refund-endpoint.ts @@ -43,11 +43,11 @@ export class RefundEndpoint implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/withdraw-endpoint.ts b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/withdraw-endpoint.ts index 163de00120..f5bf16d471 100644 --- a/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/withdraw-endpoint.ts +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/typescript/web-services/withdraw-endpoint.ts @@ -42,11 +42,11 @@ export class WithdrawEndpoint implements IWebServiceEndpoint { ]; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/json/openapi.json b/packages/cactus-plugin-keychain-aws-sm/src/main/json/openapi.json index 63252509f9..d3e284d518 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/json/openapi.json +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/json/openapi.json @@ -29,7 +29,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-keychain-entry", "verbLowerCase": "post" @@ -62,7 +62,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/set-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/set-keychain-entry", "verbLowerCase": "post" @@ -92,7 +92,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry", "verbLowerCase": "post" @@ -122,7 +122,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry", "verbLowerCase": "post" @@ -152,7 +152,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts index 2c1743755c..42f95ce2d8 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class DeleteKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts index 1a3f70036c..0228b5fa4b 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class GetKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-prometheus-exporter-metrics-endpoint-v1.ts index 11b06e4837..6cfa33cb52 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -65,11 +65,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts index 20b34bdb36..e23c7f18c0 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class HasKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts index 77cad4cbff..7e253d2cbd 100644 --- a/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class SetKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/json/openapi.json b/packages/cactus-plugin-keychain-azure-kv/src/main/json/openapi.json index 37787372e9..e7b4cc5500 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/json/openapi.json +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/json/openapi.json @@ -24,7 +24,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/get-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/get-keychain-entry", "verbLowerCase": "post" @@ -57,7 +57,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/set-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/set-keychain-entry", "verbLowerCase": "post" @@ -87,7 +87,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/delete-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/delete-keychain-entry", "verbLowerCase": "post" @@ -117,7 +117,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/has-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/has-keychain-entry", "verbLowerCase": "post" diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/delete-keychain-entry-endpoint.ts b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/delete-keychain-entry-endpoint.ts index 9b12f93b74..0cb3aac4f6 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/delete-keychain-entry-endpoint.ts +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/delete-keychain-entry-endpoint.ts @@ -51,12 +51,12 @@ export class DeleteKeychainEntryEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/get-keychain-entry-endpoint.ts b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/get-keychain-entry-endpoint.ts index 5bf5259805..d7f23c2479 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/get-keychain-entry-endpoint.ts +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/get-keychain-entry-endpoint.ts @@ -51,12 +51,12 @@ export class GetKeychainEntryEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/has-keychain-entry-endpoint.ts b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/has-keychain-entry-endpoint.ts index c5439004d0..697b87fc5e 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/has-keychain-entry-endpoint.ts +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/has-keychain-entry-endpoint.ts @@ -52,12 +52,12 @@ export class HasKeychainEntryEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/set-keychain-entry-endpoint.ts b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/set-keychain-entry-endpoint.ts index 40590ce5f5..3b4b1485f0 100644 --- a/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/set-keychain-entry-endpoint.ts +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/typescript/web-services/set-keychain-entry-endpoint.ts @@ -51,12 +51,12 @@ export class SetKeychainEntryEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/json/openapi.json b/packages/cactus-plugin-keychain-google-sm/src/main/json/openapi.json index 69d86177fd..8527bb7933 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/json/openapi.json +++ b/packages/cactus-plugin-keychain-google-sm/src/main/json/openapi.json @@ -15,7 +15,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/get-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/get-keychain-entry", "verbLowerCase": "post" @@ -48,7 +48,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/set-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/set-keychain-entry", "verbLowerCase": "post" @@ -78,7 +78,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/delete-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/delete-keychain-entry", "verbLowerCase": "post" @@ -99,7 +99,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/has-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/has-keychain-entry", "verbLowerCase": "post" diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts index 769297fe16..b3744cef02 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts @@ -49,12 +49,12 @@ export class DeleteKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts index 1366b55029..cddad84417 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts @@ -49,12 +49,12 @@ export class GetKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts index a26f9bbcf3..90099efe38 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts @@ -49,12 +49,12 @@ export class HasKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts index d5dfe171fe..5a28f46664 100644 --- a/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts @@ -49,12 +49,12 @@ export class SetKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/json/openapi.json b/packages/cactus-plugin-keychain-memory-wasm/src/main/json/openapi.json index f9d5baec22..f3016308da 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/json/openapi.json +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/json/openapi.json @@ -12,7 +12,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/get-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/get-keychain-entry", "verbLowerCase": "post" @@ -45,7 +45,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/set-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/set-keychain-entry", "verbLowerCase": "post" @@ -75,7 +75,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/delete-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/delete-keychain-entry", "verbLowerCase": "post" @@ -105,7 +105,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/has-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/has-keychain-entry", "verbLowerCase": "post" diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts index e1ca152dba..adb4aff167 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/delete-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class DeleteKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts index 12c5e66dd7..b39e4d7aa7 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/get-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class GetKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts index cd3494a366..a251a63dc7 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/has-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class HasKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts index 5129b03901..039e4c516d 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/typescript/webservices/set-keychain-entry-endpoint-v1.ts @@ -50,12 +50,12 @@ export class SetKeychainEntryV1Endpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json b/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json index b39597b333..f8b0154d93 100644 --- a/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json +++ b/packages/cactus-plugin-keychain-memory/src/main/json/openapi.json @@ -155,7 +155,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-keychain-memory/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-keychain-memory/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts index b22747b1d7..053ca59527 100644 --- a/packages/cactus-plugin-keychain-memory/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-memory/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -65,11 +65,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-vault/src/main/json/openapi.json b/packages/cactus-plugin-keychain-vault/src/main/json/openapi.json index 425fc4bafc..cf69bd9af3 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/json/openapi.json +++ b/packages/cactus-plugin-keychain-vault/src/main/json/openapi.json @@ -84,7 +84,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-keychain-entry", "verbLowerCase": "post" @@ -117,7 +117,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/delete-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/delete-keychain-entry", "verbLowerCase": "post" @@ -151,7 +151,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/has-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/has-keychain-entry", "verbLowerCase": "post" @@ -185,7 +185,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/set-keychain-entry": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/set-keychain-entry", "verbLowerCase": "post" @@ -215,7 +215,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/delete-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/delete-keychain-entry-endpoint-v1.ts index 1f47f0c8ee..508bc67e6d 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/delete-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/delete-keychain-entry-endpoint-v1.ts @@ -74,11 +74,11 @@ export class DeleteKeychainEntryEndpointV1 implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-keychain-entry-endpoint-v1.ts index 9504555cfb..2972a38f2e 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-keychain-entry-endpoint-v1.ts @@ -74,11 +74,11 @@ export class GetKeychainEntryEndpointV1 implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts index bd46a39bd5..fe07adedb6 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -65,11 +65,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/has-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/has-keychain-entry-endpoint-v1.ts index 27deb20d37..da2a9fa4d8 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/has-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/has-keychain-entry-endpoint-v1.ts @@ -74,11 +74,11 @@ export class HasKeychainEntryEndpointV1 implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/set-keychain-entry-endpoint-v1.ts b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/set-keychain-entry-endpoint-v1.ts index 0c24042f35..4d4ad5f197 100644 --- a/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/set-keychain-entry-endpoint-v1.ts +++ b/packages/cactus-plugin-keychain-vault/src/main/typescript/web-services/set-keychain-entry-endpoint-v1.ts @@ -73,11 +73,11 @@ export class SetKeychainEntryEndpointV1 implements IWebServiceEndpoint { } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json index d3f386c421..73f3a57fcc 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json @@ -950,7 +950,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec" @@ -975,7 +975,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/deploy-contract-solidity-bytecode": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/deploy-contract-solidity-bytecode" @@ -1009,7 +1009,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-balance": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-balance" @@ -1043,7 +1043,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-block": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-block" @@ -1077,7 +1077,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/run-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/run-transaction" @@ -1111,7 +1111,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-transaction" @@ -1145,7 +1145,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-past-logs": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-past-logs" @@ -1179,7 +1179,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/invoke-contract": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/invoke-contract" @@ -1213,7 +1213,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/sign-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/sign-transaction" @@ -1252,7 +1252,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-prometheus-exporter-metrics" @@ -1277,7 +1277,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-besu-record": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-besu-record" diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/plugin-ledger-connector-besu.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/plugin-ledger-connector-besu.ts index 8f4d902af4..5e92ba1722 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/plugin-ledger-connector-besu.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/plugin-ledger-connector-besu.ts @@ -304,9 +304,9 @@ export class PluginLedgerConnectorBesu oas: OAS, oasPath, operationId, - path: oasPath.get["x-hyperledger-cactus"].http.path, + path: oasPath.get["x-hyperledger-cacti"].http.path, pluginRegistry: this.pluginRegistry, - verbLowerCase: oasPath.get["x-hyperledger-cactus"].http.verbLowerCase, + verbLowerCase: oasPath.get["x-hyperledger-cacti"].http.verbLowerCase, logLevel: this.options.logLevel, }; const endpoint = new GetOpenApiSpecV1Endpoint(opts); diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts index 1d655e5e97..405d89e80f 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts @@ -53,11 +53,11 @@ export class DeployContractSolidityBytecodeEndpoint } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-balance-endpoint.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-balance-endpoint.ts index a9081e3be7..95f2332898 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-balance-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-balance-endpoint.ts @@ -49,11 +49,11 @@ export class GetBalanceEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-besu-record-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-besu-record-endpoint-v1.ts index f75eade921..84a530909c 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-besu-record-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-besu-record-endpoint-v1.ts @@ -51,12 +51,12 @@ export class GetBesuRecordEndpointV1 implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-block-v1-endpoint-.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-block-v1-endpoint-.ts index 59d6b0872d..23f6f4d6ec 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-block-v1-endpoint-.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-block-v1-endpoint-.ts @@ -49,11 +49,11 @@ export class GetBlockEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-past-logs-endpoint.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-past-logs-endpoint.ts index 68c0795777..ff3f14b764 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-past-logs-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-past-logs-endpoint.ts @@ -49,11 +49,11 @@ export class GetPastLogsEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts index a40f6c2f6b..416190ed0f 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -64,11 +64,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-transaction-endpoint.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-transaction-endpoint.ts index e7fd2fa855..84807e8da9 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-transaction-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/get-transaction-endpoint.ts @@ -49,11 +49,11 @@ export class GetTransactionEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/invoke-contract-endpoint.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/invoke-contract-endpoint.ts index ae1ec8893c..cd398a6290 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/invoke-contract-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/invoke-contract-endpoint.ts @@ -50,11 +50,11 @@ export class InvokeContractEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/run-transaction-endpoint.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/run-transaction-endpoint.ts index 7ea4afa4ac..096be62d00 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/run-transaction-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/run-transaction-endpoint.ts @@ -50,11 +50,11 @@ export class RunTransactionEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/sign-transaction-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/sign-transaction-endpoint-v1.ts index 532b48027a..88a352065d 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/sign-transaction-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/typescript/web-services/sign-transaction-endpoint-v1.ts @@ -61,11 +61,11 @@ export class BesuSignTransactionEndpointV1 implements IWebServiceEndpoint { } getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-corda/src/main/json/openapi.json index 1362fb03e1..05ba256ed3 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/json/openapi.json @@ -873,7 +873,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/deploy-contract-jars": { "post": { "operationId": "deployContractJarsV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/deploy-contract-jars", "verbLowerCase": "post" @@ -917,7 +917,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/invoke-contract": { "post": { "operationId": "invokeContractV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/invoke-contract", "verbLowerCase": "post" @@ -951,7 +951,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/start-monitor": { "post": { "operationId": "startMonitorV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/start-monitor", "verbLowerCase": "post" @@ -985,7 +985,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-monitor-transactions": { "get": { "operationId": "GetMonitorTransactionsV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-monitor-transactions", "verbLowerCase": "get" @@ -1019,7 +1019,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/clear-monitor-transactions": { "delete": { "operationId": "ClearMonitorTransactionsV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/clear-monitor-transactions", "verbLowerCase": "delete" @@ -1053,7 +1053,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/stop-monitor": { "delete": { "operationId": "stopMonitorV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/stop-monitor", "verbLowerCase": "delete" @@ -1087,7 +1087,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/network-map": { "post": { "operationId": "networkMapV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/network-map", "verbLowerCase": "post" @@ -1121,7 +1121,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/list-flows": { "post": { "operationId": "listFlowsV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/list-flows", "verbLowerCase": "post" @@ -1155,7 +1155,7 @@ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/diagnose-node": { "post": { "operationId": "diagnoseNodeV1", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/diagnose-node", "verbLowerCase": "post" @@ -1188,7 +1188,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts index c3b93700e4..43872ff69f 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/deploy-contract-jars-endpoint.ts @@ -97,11 +97,11 @@ export class DeployContractJarsEndpoint implements IWebServiceEndpoint { * API server of Cactus. */ public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/diagnose-node-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/diagnose-node-endpoint-v1.ts index a8b2b0c566..932b8750cc 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/diagnose-node-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/diagnose-node-endpoint-v1.ts @@ -67,11 +67,11 @@ export class DiagnoseNodeEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts index e341aeec43..90447712c7 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -65,11 +65,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/invoke-contract-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/invoke-contract-endpoint-v1.ts index 5def4e6b49..1673eb89db 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/invoke-contract-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/invoke-contract-endpoint-v1.ts @@ -67,11 +67,11 @@ export class InvokeContractEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/list-flows-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/list-flows-endpoint-v1.ts index bb0268d68c..87de9a8520 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/list-flows-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/list-flows-endpoint-v1.ts @@ -73,11 +73,11 @@ export class ListFlowsEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/network-map-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/network-map-endpoint-v1.ts index 8a5080f147..9ec95ec971 100644 --- a/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/network-map-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/typescript/web-services/network-map-endpoint-v1.ts @@ -63,11 +63,11 @@ export class NetworkMapEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json index 60c1004bec..5fbf93276c 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json @@ -1340,7 +1340,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-transaction" @@ -1386,7 +1386,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-delegated-sign-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-delegated-sign-transaction" @@ -1432,7 +1432,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-transaction-receipt-by-txid": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-transaction-receipt-by-txid" @@ -1473,7 +1473,7 @@ "post": { "operationId": "deployContractGoSourceV1", "summary": "Deploys a chaincode contract in the form of a go sources.", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract-go-source" @@ -1525,7 +1525,7 @@ "post": { "operationId": "deployContractV1", "summary": "Deploys a chaincode contract from a set of source files. Note: This endpoint only supports Fabric 2.x. The 'v1' suffix in the method name refers to the Cactus API version, not the supported Fabric ledger version.", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract" @@ -1577,7 +1577,7 @@ "post": { "operationId": "getBlockV1", "summary": "Get block from the channel using one of selectors from the input. Works only on Fabric 2.x.", - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-block" @@ -1619,7 +1619,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract-go-source/deploy-contract-go-source-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract-go-source/deploy-contract-go-source-endpoint-v1.ts index 802561f876..f327b6cef6 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract-go-source/deploy-contract-go-source-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract-go-source/deploy-contract-go-source-endpoint-v1.ts @@ -57,11 +57,11 @@ export class DeployContractGoSourceEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract/deploy-contract-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract/deploy-contract-endpoint-v1.ts index 3093c72bbb..55a8d5d4d7 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract/deploy-contract-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/deploy-contract/deploy-contract-endpoint-v1.ts @@ -56,11 +56,11 @@ export class DeployContractEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-block/get-block-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-block/get-block-endpoint-v1.ts index b44e8c5605..763ed05573 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-block/get-block-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-block/get-block-endpoint-v1.ts @@ -62,12 +62,12 @@ export class GetBlockEndpointV1 implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts index c75b1b72eb..4886332e7e 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-prometheus-exporter-metrics/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -64,11 +64,11 @@ export class GetPrometheusExporterMetricsEndpointV1 ]; } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-transaction-receipt/get-transaction-receipt-by-txid-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-transaction-receipt/get-transaction-receipt-by-txid-endpoint-v1.ts index 7a92eb6419..7f05408ea4 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-transaction-receipt/get-transaction-receipt-by-txid-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/get-transaction-receipt/get-transaction-receipt-by-txid-endpoint-v1.ts @@ -64,12 +64,12 @@ export class GetTransactionReceiptByTxIDEndpointV1 public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-delegated-sign-transaction-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-delegated-sign-transaction-endpoint-v1.ts index e064aba32e..257150c2e3 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-delegated-sign-transaction-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-delegated-sign-transaction-endpoint-v1.ts @@ -65,11 +65,11 @@ export class RunDelegatedSignTransactionEndpointV1 } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-transaction-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-transaction-endpoint-v1.ts index 3884cc965b..38173ef24d 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-transaction-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/run-transaction/run-transaction-endpoint-v1.ts @@ -61,11 +61,11 @@ export class RunTransactionEndpointV1 implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-iroha/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-iroha/src/main/json/openapi.json index d93a23db81..d4184dd1af 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-iroha/src/main/json/openapi.json @@ -966,7 +966,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/run-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/run-transaction" @@ -1030,7 +1030,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/generate-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/generate-transaction" @@ -1084,7 +1084,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/generate-transaction-endpoint.ts b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/generate-transaction-endpoint.ts index 66bfce1490..218d3f8871 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/generate-transaction-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/generate-transaction-endpoint.ts @@ -52,12 +52,12 @@ export class GenerateTransactionEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts index 5be1ed6c10..209b8f7229 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -60,13 +60,13 @@ export class GetPrometheusExporterMetricsEndpointV1 getPath(): string { return OAS.paths[ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/get-prometheus-exporter-metrics" - ].get["x-hyperledger-cactus"].http.path; + ].get["x-hyperledger-cacti"].http.path; } getVerbLowerCase(): string { return OAS.paths[ "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha/get-prometheus-exporter-metrics" - ].get["x-hyperledger-cactus"].http.verbLowerCase; + ].get["x-hyperledger-cacti"].http.verbLowerCase; } public async registerExpress( diff --git a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/run-transaction-endpoint.ts b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/run-transaction-endpoint.ts index 53519852c4..3de6059ebd 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/run-transaction-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/web-services/run-transaction-endpoint.ts @@ -51,12 +51,12 @@ export class RunTransactionEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-iroha2/src/main/json/openapi.json index 054f89b49a..5f0babaf69 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/json/openapi.json @@ -537,7 +537,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/transact": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/transact" @@ -581,7 +581,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/generate-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/generate-transaction" @@ -625,7 +625,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/query": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/query" diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/generate-transaction-v1-endpoint.ts b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/generate-transaction-v1-endpoint.ts index fc2994903e..0e374cdab0 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/generate-transaction-v1-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/generate-transaction-v1-endpoint.ts @@ -57,12 +57,12 @@ export class Iroha2GenerateTransactionEndpointV1 public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/query-v1-endpoint.ts b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/query-v1-endpoint.ts index 7324115177..2a3a6789cf 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/query-v1-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/query-v1-endpoint.ts @@ -55,12 +55,12 @@ export class Iroha2QueryEndpointV1 implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/transact-v1-endpoint.ts b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/transact-v1-endpoint.ts index 4985546d3b..6066495d46 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/transact-v1-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/typescript/web-services/transact-v1-endpoint.ts @@ -55,12 +55,12 @@ export class Iroha2TransactEndpointV1 implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json index db029011a4..09dd3b6054 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json @@ -1169,7 +1169,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode" @@ -1203,7 +1203,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode-json-object": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode-json-object" @@ -1237,7 +1237,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/run-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/run-transaction" @@ -1271,7 +1271,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract" @@ -1305,7 +1305,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract-json-object": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract-json-object" @@ -1339,7 +1339,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/get-prometheus-exporter-metrics" @@ -1364,7 +1364,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-method": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-method" @@ -1398,7 +1398,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-contract": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-contract" diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint-json-object.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint-json-object.ts index 04cfb13d12..b69f0e28ff 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint-json-object.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint-json-object.ts @@ -57,12 +57,12 @@ export class DeployContractSolidityBytecodeJsonObjectEndpoint public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts index d253b16792..40e4f4606d 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts @@ -53,11 +53,11 @@ export class DeployContractSolidityBytecodeEndpoint } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts index 585aceb87e..ed0149136d 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -54,11 +54,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint-json-object.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint-json-object.ts index 00af8359ff..2f1990fcc7 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint-json-object.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint-json-object.ts @@ -52,12 +52,12 @@ export class InvokeContractJsonObjectEndpoint implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint.ts index 67f0127147..af4dd11d1e 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-contract-endpoint.ts @@ -50,11 +50,11 @@ export class InvokeContractEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-contract-v1-endpoint.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-contract-v1-endpoint.ts index 790bf9e628..bbd3d571e0 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-contract-v1-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-contract-v1-endpoint.ts @@ -50,11 +50,11 @@ export class InvokeRawWeb3EthContractEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-method-v1-endpoint.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-method-v1-endpoint.ts index ad0aa7c91d..d6423fee4e 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-method-v1-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/invoke-raw-web3eth-method-v1-endpoint.ts @@ -48,11 +48,11 @@ export class InvokeRawWeb3EthMethodEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/run-transaction-endpoint.ts b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/run-transaction-endpoint.ts index 48f9142d65..20eacabbdf 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/run-transaction-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/web-services/run-transaction-endpoint.ts @@ -50,11 +50,11 @@ export class RunTransactionEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/json/openapi.json index 44f7a1b40a..e408ca6534 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/json/openapi.json @@ -326,7 +326,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-sawtooth/status": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-sawtooth/status" diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/typescript/web-services/status-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/typescript/web-services/status-endpoint-v1.ts index 713c1b0d07..392ad28ae3 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/typescript/web-services/status-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/typescript/web-services/status-endpoint-v1.ts @@ -55,12 +55,12 @@ export class StatusEndpointV1 implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.path; + return apiPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-ubiquity/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/json/openapi.json index c7566388af..141da458cc 100644 --- a/packages/cactus-plugin-ledger-connector-ubiquity/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/json/openapi.json @@ -32,7 +32,7 @@ "paths": { "/api/v1/@hyperledger/cactus-plugin-ledger-connector-ubiquity/GetTransactionByAddress": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-ledger-connector-ubiquity/GetTransactionByAddress" diff --git a/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/endpoints/transaction/get-transactions-endpoint.ts b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/endpoints/transaction/get-transactions-endpoint.ts index 2edc6117ec..25405bf713 100644 --- a/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/endpoints/transaction/get-transactions-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-ubiquity/src/main/typescript/endpoints/transaction/get-transactions-endpoint.ts @@ -50,7 +50,7 @@ export class GetTransactionsByAddressEndpoint implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-ledger-connector-ubiquity/GetTransactionByAddress" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -58,7 +58,7 @@ export class GetTransactionsByAddressEndpoint implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-ledger-connector-ubiquity/GetTransactionByAddress" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json b/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json index 0fcc18f232..c92639de5c 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json @@ -836,7 +836,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode" @@ -870,7 +870,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode-json-object": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode-json-object" @@ -904,7 +904,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/run-transaction": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/run-transaction" @@ -938,7 +938,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract" @@ -972,7 +972,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract-json-object": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract-json-object" @@ -1006,7 +1006,7 @@ }, "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics" diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts index aa1b0b22c4..5cd0956c5c 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-endpoint.ts @@ -53,11 +53,11 @@ export class DeployContractSolidityBytecodeEndpoint } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-json-object-endpoint.ts b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-json-object-endpoint.ts index 7b5a7ae976..b24a370958 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-json-object-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/deploy-contract-solidity-bytecode-json-object-endpoint.ts @@ -56,11 +56,11 @@ export class DeployContractSolidityBytecodeJsonObjectEndpoint } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts index 77dfa0c964..a94728bfb4 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/get-prometheus-exporter-metrics-endpoint-v1.ts @@ -64,11 +64,11 @@ export class GetPrometheusExporterMetricsEndpointV1 } public getPath(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.path; + return this.oasPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-endpoint.ts b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-endpoint.ts index c6b9aaff12..f55db0d59c 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-endpoint.ts @@ -49,11 +49,11 @@ export class InvokeContractEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-json-object-endpoint.ts b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-json-object-endpoint.ts index 59c0672fb8..746941353d 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-json-object-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/invoke-contract-json-object-endpoint.ts @@ -52,11 +52,11 @@ export class InvokeContractJsonObjectEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/run-transaction-endpoint.ts b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/run-transaction-endpoint.ts index d8bf55ade9..a0b200d3a0 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/run-transaction-endpoint.ts +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/typescript/web-services/run-transaction-endpoint.ts @@ -49,11 +49,11 @@ export class RunTransactionEndpoint implements IWebServiceEndpoint { } public getPath(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.path; + return this.oasPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { - return this.oasPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return this.oasPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/json/openapi.json b/packages/cactus-plugin-odap-hermes/src/main/json/openapi.json index eee192274b..65a461aaf9 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/json/openapi.json +++ b/packages/cactus-plugin-odap-hermes/src/main/json/openapi.json @@ -1290,7 +1290,7 @@ "paths": { "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationrequest": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationrequest" @@ -1316,7 +1316,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommencerequest": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommencerequest" @@ -1342,7 +1342,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidencerequest": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidencerequest" @@ -1368,7 +1368,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationrequest": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationrequest" @@ -1394,7 +1394,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalrequest": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalrequest" @@ -1420,7 +1420,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/transfercompleterequest": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/transfercompleterequest" @@ -1446,7 +1446,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/clientrequest": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/clientrequest" @@ -1477,7 +1477,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationresponse": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationresponse" @@ -1503,7 +1503,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommenceresponse": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommenceresponse" @@ -1529,7 +1529,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidenceresponse": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidenceresponse" @@ -1555,7 +1555,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationresponse": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationresponse" @@ -1581,7 +1581,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalresponse": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalresponse" @@ -1607,7 +1607,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recovermessage": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recovermessage" @@ -1633,7 +1633,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdatemessage": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdatemessage" @@ -1659,7 +1659,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdateackmessage": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdateackmessage" @@ -1685,7 +1685,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoversuccessmessage": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoversuccessmessage" @@ -1711,7 +1711,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackmessage": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackmessage" @@ -1737,7 +1737,7 @@ }, "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackackmessage": { "post": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "post", "path": "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackackmessage" diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/client-request-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/client-request-endpoint.ts index 301f176dda..e46deb0ffa 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/client-request-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/client-request-endpoint.ts @@ -46,13 +46,13 @@ export class ClientRequestEndpointV1 implements IWebServiceEndpoint { public getPath(): string { const apiPath = OAS.paths["/api/v1/@hyperledger/cactus-plugin-odap-hermes/clientrequest"]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = OAS.paths["/api/v1/@hyperledger/cactus-plugin-odap-hermes/clientrequest"]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-final-response-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-final-response-endpoint.ts index c1f3c94b67..924249cde5 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-final-response-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-final-response-endpoint.ts @@ -48,7 +48,7 @@ export class CommitFinalResponseEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -56,7 +56,7 @@ export class CommitFinalResponseEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-prepare-response-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-prepare-response-endpoint.ts index 936dbc3f7d..ca5131ed63 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-prepare-response-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/commit-prepare-response-endpoint.ts @@ -52,7 +52,7 @@ export class CommitPreparationResponseEndpointV1 OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -60,7 +60,7 @@ export class CommitPreparationResponseEndpointV1 OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/lock-evidence-response-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/lock-evidence-response-endpoint.ts index ea912929cf..4b8a779087 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/lock-evidence-response-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/lock-evidence-response-endpoint.ts @@ -51,7 +51,7 @@ export class LockEvidenceResponseEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidenceresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -59,7 +59,7 @@ export class LockEvidenceResponseEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidenceresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-commence-response-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-commence-response-endpoint.ts index e2ee9825a7..d07dd307a1 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-commence-response-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-commence-response-endpoint.ts @@ -49,7 +49,7 @@ export class TransferCommenceResponseEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommenceresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -57,7 +57,7 @@ export class TransferCommenceResponseEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommenceresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-initiation-response-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-initiation-response-endpoint.ts index c6631e4370..00531b186b 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-initiation-response-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/client-side/transfer-initiation-response-endpoint.ts @@ -51,7 +51,7 @@ export class TransferInitiationResponseEndpointV1 OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -59,7 +59,7 @@ export class TransferInitiationResponseEndpointV1 OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationresponse" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-message-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-message-endpoint.ts index 863a340d8f..4852761a1c 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-message-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-message-endpoint.ts @@ -48,7 +48,7 @@ export class RecoverMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recovermessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -56,7 +56,7 @@ export class RecoverMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recovermessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-success-message-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-success-message-endpoint.ts index 7157def0ec..daa6a0e367 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-success-message-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-success-message-endpoint.ts @@ -48,7 +48,7 @@ export class RecoverSuccessMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoversuccessmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -56,7 +56,7 @@ export class RecoverSuccessMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoversuccessmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-ack-message-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-ack-message-endpoint.ts index a3061aada7..c0c81d887d 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-ack-message-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-ack-message-endpoint.ts @@ -50,7 +50,7 @@ export class RecoverUpdateAckMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdateackmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -58,7 +58,7 @@ export class RecoverUpdateAckMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdateackmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-message-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-message-endpoint.ts index 94606ce247..8d0b1c047c 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-message-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/recover-update-message-endpoint.ts @@ -48,7 +48,7 @@ export class RecoverUpdateMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdatemessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -56,7 +56,7 @@ export class RecoverUpdateMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/recoverupdatemessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-ack-message-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-ack-message-endpoint.ts index d467d6720d..369eaf38c1 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-ack-message-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-ack-message-endpoint.ts @@ -48,7 +48,7 @@ export class RollbackAckMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackackmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -56,7 +56,7 @@ export class RollbackAckMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackackmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-message-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-message-endpoint.ts index 69ec955e96..9220f83e46 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-message-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/recovery/rollback-message-endpoint.ts @@ -48,7 +48,7 @@ export class RollbackMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -56,7 +56,7 @@ export class RollbackMessageEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/rollbackmessage" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commit-final-request-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commit-final-request-endpoint.ts index 705d5c361a..39ece8217d 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commit-final-request-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commit-final-request-endpoint.ts @@ -47,7 +47,7 @@ export class CommitFinalRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalrequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -55,7 +55,7 @@ export class CommitFinalRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitfinalrequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commite-prepare-request-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commite-prepare-request-endpoint.ts index 8a1faacc37..32aedbd40c 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commite-prepare-request-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/commite-prepare-request-endpoint.ts @@ -49,7 +49,7 @@ export class CommitPreparationRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationrequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -57,7 +57,7 @@ export class CommitPreparationRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/commitpreparationrequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/lock-evidence-request-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/lock-evidence-request-endpoint.ts index 8eddc90bac..a5296fe5fb 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/lock-evidence-request-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/lock-evidence-request-endpoint.ts @@ -51,7 +51,7 @@ export class LockEvidenceRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidencerequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -59,7 +59,7 @@ export class LockEvidenceRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/lockevidencerequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-commence-request-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-commence-request-endpoint.ts index e55cc289a6..7d72deb39c 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-commence-request-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-commence-request-endpoint.ts @@ -49,7 +49,7 @@ export class TransferCommenceRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommencerequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -57,7 +57,7 @@ export class TransferCommenceRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase2/transfercommencerequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-complete-request-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-complete-request-endpoint.ts index ef867a3a90..126763338a 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-complete-request-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-complete-request-endpoint.ts @@ -49,7 +49,7 @@ export class TransferCompleteRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/transfercompleterequest" ]; - return apiPath.get["x-hyperledger-cactus"].http.path; + return apiPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -57,7 +57,7 @@ export class TransferCompleteRequestEndpointV1 implements IWebServiceEndpoint { OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase3/transfercompleterequest" ]; - return apiPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-initiation-request-endpoint.ts b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-initiation-request-endpoint.ts index ab35e4351a..33181c087f 100644 --- a/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-initiation-request-endpoint.ts +++ b/packages/cactus-plugin-odap-hermes/src/main/typescript/web-services/server-side/transfer-initiation-request-endpoint.ts @@ -51,7 +51,7 @@ export class TransferInitiationRequestEndpointV1 OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationrequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.path; + return apiPath.post["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { @@ -59,7 +59,7 @@ export class TransferInitiationRequestEndpointV1 OAS.paths[ "/api/v1/@hyperledger/cactus-plugin-odap-hermes/phase1/transferinitiationrequest" ]; - return apiPath.post["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.post["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/json/openapi.json b/packages/cactus-plugin-persistence-ethereum/src/main/json/openapi.json index c0e51f3acb..8c6b2365b8 100644 --- a/packages/cactus-plugin-persistence-ethereum/src/main/json/openapi.json +++ b/packages/cactus-plugin-persistence-ethereum/src/main/json/openapi.json @@ -127,7 +127,7 @@ "paths": { "/api/v1/plugins/@hyperledger/cactus-plugin-persistence-ethereum/status": { "get": { - "x-hyperledger-cactus": { + "x-hyperledger-cacti": { "http": { "verbLowerCase": "get", "path": "/api/v1/plugins/@hyperledger/cactus-plugin-persistence-ethereum/status" diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/typescript/web-services/status-endpoint-v1.ts b/packages/cactus-plugin-persistence-ethereum/src/main/typescript/web-services/status-endpoint-v1.ts index 8f37432dca..66a1d78358 100644 --- a/packages/cactus-plugin-persistence-ethereum/src/main/typescript/web-services/status-endpoint-v1.ts +++ b/packages/cactus-plugin-persistence-ethereum/src/main/typescript/web-services/status-endpoint-v1.ts @@ -57,12 +57,12 @@ export class StatusEndpointV1 implements IWebServiceEndpoint { public getPath(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.path; + return apiPath.get["x-hyperledger-cacti"].http.path; } public getVerbLowerCase(): string { const apiPath = this.getOasPath(); - return apiPath.get["x-hyperledger-cactus"].http.verbLowerCase; + return apiPath.get["x-hyperledger-cacti"].http.verbLowerCase; } public getOperationId(): string { diff --git a/tools/custom-checks/check-open-api-json-specs.ts b/tools/custom-checks/check-open-api-json-specs.ts index e7af881e5c..0aab27649f 100644 --- a/tools/custom-checks/check-open-api-json-specs.ts +++ b/tools/custom-checks/check-open-api-json-specs.ts @@ -5,6 +5,7 @@ import { globby, Options as GlobbyOptions } from "globby"; import { RuntimeError } from "run-time-error"; import { hasProperty } from "./has-property"; import { isStdLibRecord } from "./is-std-lib-record"; +import { isOpenApiV3SupportedHttpVerb } from "./open-api-http-verbs"; /** * Verifies that the openapi.json files in the entire project are conformant to @@ -168,54 +169,58 @@ export async function checkOpenApiJsonSpecs( return; } - Object.entries(paths).forEach(([pathObjKey, pathObjProp]) => { - if (!isStdLibRecord(pathObjProp)) { - errors.push( - `ERROR: ${oasPathRel} "paths"."${pathObjKey}" must be an object`, - ); - return; - } - Object.entries(pathObjProp).forEach(([verbObjKey, verbObjProp]) => { - if (!isStdLibRecord(verbObjProp)) { + Object.entries(paths) + // We filter down to OpenAPI supported HTTP verbs only so that we don't + // hit additional properties for validation by accident (such as "summary") + .filter(([pathObjKey]) => isOpenApiV3SupportedHttpVerb(pathObjKey)) + .forEach(([pathObjKey, pathObjProp]) => { + if (!isStdLibRecord(pathObjProp)) { errors.push( - `ERROR: ${oasPathRel} "paths"."${pathObjKey}"."${verbObjKey}" must be an object`, + `ERROR: ${oasPathRel} "paths"."${pathObjKey}" must be an object`, ); return; } - const oasExtension = verbObjProp["x-hyperledger-cactus"]; - if (!isStdLibRecord(oasExtension)) { - const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cactus" from the path definition of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cactus"`; - errors.push(errorMessage); - return; - } - if (!hasProperty(oasExtension, "http")) { - const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cactus"."http" from the path definition of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cactus"`; - errors.push(errorMessage); - return; - } - const { http } = oasExtension; - if (!hasProperty(http, "verbLowerCase")) { - const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cactus"."http"."verbLowerCase" from the path definition of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cactus"`; - errors.push(errorMessage); - return; - } - if (!hasProperty(http, "path")) { - const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cactus"."http"."path" from the path definition object of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cactus"`; - errors.push(errorMessage); - return; - } - if (http.path !== pathObjKey) { - const errorMessage = `ERROR: ${oasPathRel} HTTP paths at "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cactus"."http"."path" must match "${pathObjKey}" but it is currently set to "${http.path}"`; - errors.push(errorMessage); - return; - } - if (http.verbLowerCase !== verbObjKey) { - const errorMessage = `ERROR: ${oasPathRel} HTTP verbs at "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cactus"."http"."verbLowerCase" must match "${verbObjKey}" but it is currently set to "${http.verbLowerCase}"`; - errors.push(errorMessage); - return; - } + Object.entries(pathObjProp).forEach(([verbObjKey, verbObjProp]) => { + if (!isStdLibRecord(verbObjProp)) { + errors.push( + `ERROR: ${oasPathRel} "paths"."${pathObjKey}"."${verbObjKey}" must be an object`, + ); + return; + } + const oasExtension = verbObjProp["x-hyperledger-cacti"]; + if (!isStdLibRecord(oasExtension)) { + const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cacti" from the path definition of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cacti"`; + errors.push(errorMessage); + return; + } + if (!hasProperty(oasExtension, "http")) { + const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cacti"."http" from the path definition of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cacti"`; + errors.push(errorMessage); + return; + } + const { http } = oasExtension; + if (!hasProperty(http, "verbLowerCase")) { + const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cacti"."http"."verbLowerCase" from the path definition of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cacti"`; + errors.push(errorMessage); + return; + } + if (!hasProperty(http, "path")) { + const errorMessage = `ERROR: ${oasPathRel} is missing "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cacti"."http"."path" from the path definition object of ${pathObjKey}. Please add it. If you do not know how to, search for existing examples in other openapi.json files within the project for the string "x-hyperledger-cacti"`; + errors.push(errorMessage); + return; + } + if (http.path !== pathObjKey) { + const errorMessage = `ERROR: ${oasPathRel} HTTP paths at "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cacti"."http"."path" must match "${pathObjKey}" but it is currently set to "${http.path}"`; + errors.push(errorMessage); + return; + } + if (http.verbLowerCase !== verbObjKey) { + const errorMessage = `ERROR: ${oasPathRel} HTTP verbs at "paths"."${pathObjKey}"."${verbObjKey}"."x-hyperledger-cacti"."http"."verbLowerCase" must match "${verbObjKey}" but it is currently set to "${http.verbLowerCase}"`; + errors.push(errorMessage); + return; + } + }); }); - }); }); await Promise.all(checks); @@ -223,7 +228,7 @@ export async function checkOpenApiJsonSpecs( return [errors.length === 0, errors]; } -export const E_MISSING_OAS_EXTENSION = `missing "x-hyperledger-cactus" from `; +export const E_MISSING_OAS_EXTENSION = `missing "x-hyperledger-cacti" from `; export interface ICheckOpenApiJsonSpecsRequest { readonly argv: string[]; diff --git a/tools/custom-checks/open-api-http-verbs.ts b/tools/custom-checks/open-api-http-verbs.ts new file mode 100644 index 0000000000..3b31fa3d18 --- /dev/null +++ b/tools/custom-checks/open-api-http-verbs.ts @@ -0,0 +1,25 @@ +// OpenAPI 3.0 supports get, post, put, patch, delete, head, options, and trace. +export const OPEN_API_V3_SUPPORTED_HTTP_VERBS = [ + "get", + "post", + "put", + "patch", + "delete", + "head", + "options", + "trace", +] as const; + +export type OPEN_API_V3_SUPPORTED_HTTP_VERB = + (typeof OPEN_API_V3_SUPPORTED_HTTP_VERBS)[number]; + +export function isOpenApiV3SupportedHttpVerb( + x: unknown, +): x is OPEN_API_V3_SUPPORTED_HTTP_VERB { + return ( + typeof x === "string" && + OPEN_API_V3_SUPPORTED_HTTP_VERBS.includes( + x as OPEN_API_V3_SUPPORTED_HTTP_VERB, + ) + ); +}