Skip to content

Commit 3b6052b

Browse files
Fix misconfigured malformed request tests
1 parent fdf5340 commit 3b6052b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

smithy-aws-protocol-tests/model/restJson1/malformedRequests/malformed-string.smithy

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ apply MalformedString @httpMalformedRequestTests([
2121
request: {
2222
method: "POST",
2323
uri: "/MalformedString",
24-
body: """
25-
{ "blob" : $value:L }""",
2624
headers: {
2725
"content-type": "application/json",
2826
"amz-media-typed-header": "$value:L",
@@ -51,7 +49,7 @@ apply MalformedString @httpMalformedRequestTests([
5149
])
5250

5351
structure MalformedStringInput {
54-
@httpHeader("x-media-typed-header")
52+
@httpHeader("amz-media-typed-header")
5553
blob: JsonHeaderString,
5654
}
5755

0 commit comments

Comments
 (0)