From e1b24fb9d9b67b9d1129e661f120940f10244796 Mon Sep 17 00:00:00 2001 From: David Yaffe Date: Tue, 14 Jan 2025 11:02:22 -0500 Subject: [PATCH] bump smithy to 1.54.0 and re-enable protocol tests --- .../codegen/protocols/awsjson/AWSJSON1_0ProtocolGenerator.kt | 2 -- .../codegen/protocols/restjson/AWSRestJson1ProtocolGenerator.kt | 2 -- gradle.properties | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/awsjson/AWSJSON1_0ProtocolGenerator.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/awsjson/AWSJSON1_0ProtocolGenerator.kt index 39385604ccf..5ff59ae248f 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/awsjson/AWSJSON1_0ProtocolGenerator.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/awsjson/AWSJSON1_0ProtocolGenerator.kt @@ -22,8 +22,6 @@ class AWSJSON1_0ProtocolGenerator : AWSHTTPBindingProtocolGenerator(AWSJSONCusto override val protocolTestsToIgnore = setOf( "SDKAppliedContentEncoding_awsJson1_0", "SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsJson1_0", - "AwsJson10ClientPopulatesDefaultValuesInInput", // TODO: broken in Smithy 1.53.0 - "AwsJson10ClientPopulatesDefaultsValuesWhenMissingInResponse", // TODO: broken in Smithy 1.53.0 ) override fun getProtocolHttpBindingResolver(ctx: ProtocolGenerator.GenerationContext, defaultContentType: String): HttpBindingResolver = AWSJSONHttpBindingResolver(ctx, defaultContentType) diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/restjson/AWSRestJson1ProtocolGenerator.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/restjson/AWSRestJson1ProtocolGenerator.kt index f3d7a9ad267..4fff69196fd 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/restjson/AWSRestJson1ProtocolGenerator.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/protocols/restjson/AWSRestJson1ProtocolGenerator.kt @@ -14,7 +14,5 @@ class AWSRestJson1ProtocolGenerator : AWSHTTPBindingProtocolGenerator(RestJSONCu override val protocolTestsToIgnore = setOf( "SDKAppliedContentEncoding_restJson1", "SDKAppendedGzipAfterProvidedEncoding_restJson1", - "RestJsonClientPopulatesDefaultValuesInInput", // TODO: broken in Smithy 1.53.0 - "RestJsonClientPopulatesDefaultsValuesWhenMissingInResponse", // TODO: broken in Smithy 1.53.0 ) } diff --git a/gradle.properties b/gradle.properties index 5df7b3819b7..5f2ddbe69a9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ kotlin.code.style=official org.gradle.jvmargs=-Xmx4096M # codegen -smithyVersion=1.53.0 +smithyVersion=1.54.0 smithyGradleVersion=0.6.0 smithySwiftVersion = 0.1.0