Skip to content

Commit

Permalink
fix: Convert blob default values to Base64 (#2474)
Browse files Browse the repository at this point in the history
Convert blob default values to Base64 in awsJson1_0 & restJson1 protocol tests.
  • Loading branch information
jbelkins authored Nov 25, 2024
1 parent 2eb3cb4 commit b25ac1c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "feature",
"description": "fix: Convert blob default values to Base64",
"pull_requests": [
"[#2474](https://github.com/smithy-lang/smithy/issues/2474)"
]
}
2 changes: 1 addition & 1 deletion smithy-aws-protocol-tests/model/awsJson1_0/defaults.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ structure DefaultsMixin {
defaultDocumentList: Document = []
defaultNullDocument: Document = null
defaultTimestamp: Timestamp = 0
defaultBlob: Blob = "abc"
defaultBlob: Blob = "YWJj"
defaultByte: Byte = 1
defaultShort: Short = 1
defaultInteger: Integer = 10
Expand Down
2 changes: 1 addition & 1 deletion smithy-aws-protocol-tests/model/restJson1/defaults.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ structure DefaultsMixin {
defaultDocumentList: Document = []
defaultNullDocument: Document = null
defaultTimestamp: Timestamp = 0
defaultBlob: Blob = "abc"
defaultBlob: Blob = "YWJj"
defaultByte: Byte = 1
defaultShort: Short = 1
defaultInteger: Integer = 10
Expand Down

0 comments on commit b25ac1c

Please sign in to comment.