Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track changes for string_array endpoint parameters #2699

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading