Skip to content

Commit

Permalink
track changes for string_array endpoint parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
lucix-aws committed Jun 25, 2024
1 parent 674e1e4 commit 168d504
Show file tree
Hide file tree
Showing 823 changed files with 10,753 additions and 327 deletions.
401 changes: 401 additions & 0 deletions .changelog/ab583ce3ee524f08bd65a6cff97abd14.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codegen/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
smithyVersion=1.49.0
smithyVersion=1.50.0
smithyGradleVersion=0.7.0
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@ public static void generateHttpProtocolTests(GenerationContext context) {
.addTestName("RestXmlHttpPayloadWithUnsetUnion")
.build(),

// REST-JSON default value serialization
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithDefaults"))
.addTestName("RestJsonClientPopulatesDefaultValuesInInput")
.addTestName("RestJsonClientUsesExplicitlyProvidedValuesInTopLevel")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithNestedStructure"))
.addTestName("RestJsonClientPopulatesNestedDefaultValuesWhenMissing")
.build(),

HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
Expand All @@ -149,6 +161,11 @@ public static void generateHttpProtocolTests(GenerationContext context) {
.addTestName("RpcV2CborClientPopulatesDefaultsValuesWhenMissingInResponse")
.addTestName("RpcV2CborClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("smithy.protocoltests.rpcv2Cbor#RpcV2Protocol"))
.operation(ShapeId.from("smithy.protocoltests.rpcv2Cbor#RpcV2CborDenseMaps"))
.addTestName("RpcV2CborDeserializesDenseSetMapAndSkipsNull")
.build(),

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

// REST-JSON default value deserialization
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithDefaults"))
.addTestName("RestJsonClientPopulatesDefaultsValuesWhenMissingInResponse")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
.operation(ShapeId.from("aws.protocoltests.restjson#OperationWithNestedStructure"))
.addTestName("RestJsonClientPopulatesNestedDefaultsWhenMissingInResponseBody")
.build(),

// REST-XML opinionated test - prefix headers as empty vs nil map
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.restxml#RestXml"))
Expand Down
131 changes: 131 additions & 0 deletions internal/protocoltest/awsrestjson/api_op_ContentTypeParameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 168d504

Please sign in to comment.