Skip to content

Commit 7c371e0

Browse files
authored
Merge pull request #3651 from aws/adaines/fix-RestJsonEnumPayloadRequest-protocol-test
fix: Improve enum payload handling in JSON RPC and REST JSON protocols
2 parents 645c325 + cb68498 commit 7c371e0

File tree

6 files changed

+69
-50
lines changed

6 files changed

+69
-50
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"core": {
3+
"changeLogMessages": [
4+
"Fixed JsonRPCRequestMarshaller to properly handle enum payloads by setting content headers to plain text instead of JSON object"
5+
],
6+
"type": "patch",
7+
"updateMinimum": true
8+
}
9+
}

generator/ProtocolTestsGenerator/smithy-dotnet-codegen/src/main/java/software/amazon/smithy/dotnet/codegen/customizations/ProtocolTestCustomizations.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ private ProtocolTestCustomizations() {
109109
"QueryQueryFlattenedXmlMapWithXmlNamespace",
110110
"RestXmlXmlMapWithXmlNamespace",
111111
//These are the tests that are failing in v4 after updating to 1.54.0 and artifacts 1.0.3004.0. Each one needs to be investigated.
112-
"RestJsonEnumPayloadRequest",
113112
"RestJsonStringPayloadRequest",
114113
"RestJsonNullAndEmptyHeaders",
115114
"RestJsonSerializesSparseNullMapValues",

0 commit comments

Comments
 (0)