Skip to content

Commit

Permalink
Fixing sse schema type name for TransactionV1Payload json representation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Zajkowski committed Nov 23, 2024
1 parent 2665cc4 commit 1c765b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/test/sse_data_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@
"$ref": "#/definitions/TransactionV1Hash"
},
"payload": {
"$ref": "#/definitions/TransactionV1PayloadJson"
"$ref": "#/definitions/TransactionV1Payload"
},
"approvals": {
"type": "array",
Expand All @@ -1579,7 +1579,7 @@
}
}
},
"TransactionV1PayloadJson": {
"TransactionV1Payload": {
"description": "Internal payload of the transaction. The actual data over which the signing is done.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ impl TryFrom<TransactionV1PayloadJson> for TransactionV1Payload {
feature = "json-schema",
derive(JsonSchema),
schemars(
description = "Internal payload of the transaction. The actual data over which the signing is done."
description = "Internal payload of the transaction. The actual data over which the signing is done.",
rename = "TransactionV1Payload",
)
)]
pub(super) struct TransactionV1PayloadJson {
Expand Down

0 comments on commit 1c765b9

Please sign in to comment.