Skip to content

Commit 5f3bdfc

Browse files
authored
track changes for string_array endpoint parameters (#2699)
1 parent 2b4498c commit 5f3bdfc

File tree

822 files changed

+10753
-325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

822 files changed

+10753
-325
lines changed

.changelog/ab583ce3ee524f08bd65a6cff97abd14.json

+401
Large diffs are not rendered by default.

codegen/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
smithyVersion=1.49.0
1+
smithyVersion=1.50.0
22
smithyGradleVersion=0.7.0

codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsProtocolUtils.java

+29
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,18 @@ public static void generateHttpProtocolTests(GenerationContext context) {
125125
.addTestName("RestXmlHttpPayloadWithUnsetUnion")
126126
.build(),
127127

128+
// REST-JSON default value serialization
129+
HttpProtocolUnitTestGenerator.SkipTest.builder()
130+
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
131+
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithDefaults"))
132+
.addTestName("RestJsonClientPopulatesDefaultValuesInInput")
133+
.addTestName("RestJsonClientUsesExplicitlyProvidedValuesInTopLevel")
134+
.build(),
135+
HttpProtocolUnitTestGenerator.SkipTest.builder()
136+
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
137+
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithNestedStructure"))
138+
.addTestName("RestJsonClientPopulatesNestedDefaultValuesWhenMissing")
139+
.build(),
128140

129141
HttpProtocolUnitTestGenerator.SkipTest.builder()
130142
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
@@ -149,6 +161,11 @@ public static void generateHttpProtocolTests(GenerationContext context) {
149161
.addTestName("RpcV2CborClientPopulatesDefaultsValuesWhenMissingInResponse")
150162
.addTestName("RpcV2CborClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse")
151163
.build(),
164+
HttpProtocolUnitTestGenerator.SkipTest.builder()
165+
.service(ShapeId.from("smithy.protocoltests.rpcv2Cbor#RpcV2Protocol"))
166+
.operation(ShapeId.from("smithy.protocoltests.rpcv2Cbor#RpcV2CborDenseMaps"))
167+
.addTestName("RpcV2CborDeserializesDenseSetMapAndSkipsNull")
168+
.build(),
152169

153170
// REST-JSON optional (SHOULD) test cases
154171
HttpProtocolUnitTestGenerator.SkipTest.builder()
@@ -157,6 +174,18 @@ public static void generateHttpProtocolTests(GenerationContext context) {
157174
.addTestName("RestJsonDeserializesDenseSetMapAndSkipsNull")
158175
.build(),
159176

177+
// REST-JSON default value deserialization
178+
HttpProtocolUnitTestGenerator.SkipTest.builder()
179+
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
180+
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithDefaults"))
181+
.addTestName("RestJsonClientPopulatesDefaultsValuesWhenMissingInResponse")
182+
.build(),
183+
HttpProtocolUnitTestGenerator.SkipTest.builder()
184+
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
185+
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithNestedStructure"))
186+
.addTestName("RestJsonClientPopulatesNestedDefaultsWhenMissingInResponseBody")
187+
.build(),
188+
160189
// REST-XML opinionated test - prefix headers as empty vs nil map
161190
HttpProtocolUnitTestGenerator.SkipTest.builder()
162191
.service(ShapeId.from("aws.protocoltests.restxml#RestXml"))

internal/protocoltest/awsrestjson/api_op_ContentTypeParameters.go

+131
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/protocoltest/awsrestjson/api_op_ContentTypeParameters_test.go

+96
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/protocoltest/awsrestjson/api_op_HttpEnumPayload_test.go

+7-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/protocoltest/awsrestjson/api_op_HttpStringPayload_test.go

+12-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)