Skip to content

Commit

Permalink
refactor: rename OpenAPI extension in plugin-ledger-connector-polkadot
Browse files Browse the repository at this point in the history
Primary Changes
----------------
1. Updated the files in packages/cactus-plugin-ledger-
   connector-polkadot to use x-hyperledger-cacti

Fixes hyperledger#3198

Signed-off-by: aldousalvarez <aldousss.alvarez@gmail.com>
  • Loading branch information
aldousalvarez authored and petermetz committed May 11, 2024
1 parent 379d41d commit c35658b
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
"paths": {
"/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-prometheus-exporter-metrics": {
"get": {
"x-hyperledger-cactus": {
"x-hyperledger-cacti": {
"http": {
"verbLowerCase": "get",
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-prometheus-exporter-metrics"
Expand Down Expand Up @@ -568,7 +568,7 @@
},
"/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-transaction-info": {
"post": {
"x-hyperledger-cactus": {
"x-hyperledger-cacti": {
"http": {
"verbLowerCase": "post",
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-transaction-info"
Expand Down Expand Up @@ -612,7 +612,7 @@
},
"/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-raw-transaction": {
"post": {
"x-hyperledger-cactus": {
"x-hyperledger-cacti": {
"http": {
"verbLowerCase": "post",
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-raw-transaction"
Expand Down Expand Up @@ -656,7 +656,7 @@
},
"/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/sign-raw-transaction": {
"post": {
"x-hyperledger-cactus": {
"x-hyperledger-cacti": {
"http": {
"verbLowerCase": "post",
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/sign-raw-transaction"
Expand Down Expand Up @@ -700,7 +700,7 @@
},
"/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/run-transaction": {
"post": {
"x-hyperledger-cactus": {
"x-hyperledger-cacti": {
"http": {
"verbLowerCase": "post",
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/run-transaction"
Expand Down Expand Up @@ -744,7 +744,7 @@
},
"/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/deploy-contract-ink": {
"post": {
"x-hyperledger-cactus": {
"x-hyperledger-cacti": {
"http": {
"verbLowerCase": "post",
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/deploy-contract-ink"
Expand Down Expand Up @@ -788,7 +788,7 @@
},
"/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/invoke-contract": {
"post": {
"x-hyperledger-cactus": {
"x-hyperledger-cacti": {
"http": {
"verbLowerCase": "post",
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/invoke-contract"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export class DeployContractInkEndpoint 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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ export class GetPrometheusMetricsEndpoint implements IWebServiceEndpoint {
}

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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export class GetRawTransactionEndpoint 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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export class GetTransactionInfoEndpoint 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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export class SignRawTransactionEndpoint 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 {
Expand Down

0 comments on commit c35658b

Please sign in to comment.