-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3253: simple metadata format in some transaction endpoints r=sevanspowell a=paolino - We implement support for transaction creation (old and new) - we implement a query parameter `simple-metadata` on `get transaction` and `list transactions` to select the new format in the response - we implement a switch in the CLI commands get and list to support the new format in the output - we use `oneOf ` openapi combinator to document the possibility of the two formats for the same endpoints ### Issue Number ADP-1596 Co-authored-by: Paolo Veronelli <[email protected]> Co-authored-by: Paolo Veronelli <[email protected]> Co-authored-by: Samuel Evans-Powell <[email protected]> Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Jonathan Knowles <[email protected]>
- Loading branch information
Showing
28 changed files
with
1,317 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,4 @@ lib/shelley/test/data/balanceTx/**/actual | |
|
||
### Docs build | ||
/_build/ | ||
.vscode/settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
Usage: transaction get [--port INT] WALLET_ID TRANSACTION_ID | ||
Usage: transaction get [--port INT] WALLET_ID TRANSACTION_ID | ||
[--simple-metadata] | ||
Get a transaction with specified id. | ||
|
||
Available options: | ||
-h,--help Show this help text | ||
--port INT port used for serving the wallet API. | ||
(default: 8090) | ||
--simple-metadata output metadata json in no-schema | ||
encoding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.