Skip to content

Commit

Permalink
chore: vendor v2.0.0-alpha.2 openapi.json files project-wide
Browse files Browse the repository at this point in the history
This was done by running a modified version of the bump openapi specs script.

The change ensures that there are no $ref's of type REMOTE (when an HTTP/S link is used)
present in any of the openapi.json spec files.

The upside of this change is that we can cross-reference & re-use specifications of other
packages but without the need to have the build's success depend on the internet connection
and the presence of a git tag on upstream repository (which was creating a catch-22 for
the release automation scripts).

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Jun 1, 2024
1 parent 81da333 commit 12ef49d
Show file tree
Hide file tree
Showing 29 changed files with 10,972 additions and 577 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
},
"web3SigningCredential": {
"description": "Web3SigningCredential",
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v2.0.0-alpha.2/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json#/components/schemas/Web3SigningCredential",
"$ref": "./vendor_v2.0.0-alpha.2_packages_cactus-plugin-ledger-connector-besu_src_main_json_openapi.json#/components/schemas/Web3SigningCredential",
"nullable": false
},
"inputAmount": {
Expand Down Expand Up @@ -147,7 +147,7 @@
},
"web3SigningCredential": {
"description": "Web3SigningCredential",
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v2.0.0-alpha.2/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json#/components/schemas/Web3SigningCredential",
"$ref": "./vendor_v2.0.0-alpha.2_packages_cactus-plugin-ledger-connector-besu_src_main_json_openapi.json#/components/schemas/Web3SigningCredential",
"nullable": false
},
"gas": {
Expand Down Expand Up @@ -186,7 +186,7 @@
},
"web3SigningCredential": {
"description": "Web3SigningCredential",
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v2.0.0-alpha.2/packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json#/components/schemas/Web3SigningCredential",
"$ref": "./vendor_v2.0.0-alpha.2_packages_cactus-plugin-ledger-connector-besu_src_main_json_openapi.json#/components/schemas/Web3SigningCredential",
"nullable": false
},
"htlcId": {
Expand Down
Loading

0 comments on commit 12ef49d

Please sign in to comment.