diff --git a/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/ClientProtocolTestGenerator.kt b/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/ClientProtocolTestGenerator.kt index 0860dbe33b..a232741d32 100644 --- a/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/ClientProtocolTestGenerator.kt +++ b/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/ClientProtocolTestGenerator.kt @@ -28,7 +28,6 @@ import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.Broke import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.FailingTest import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.ProtocolSupport import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.ProtocolTestGenerator -import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.ServiceShapeId import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.ServiceShapeId.AWS_JSON_10 import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.ServiceShapeId.REST_JSON import software.amazon.smithy.rust.codegen.core.smithy.generators.protocol.ServiceShapeId.RPC_V2_CBOR @@ -84,20 +83,7 @@ class ClientProtocolTestGenerator( ) private val BrokenTests: - Set = - setOf( - BrokenTest.ResponseTest( - ServiceShapeId.REST_JSON, - "RestJsonClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse", - howToFixItFn = ::fixRestJsonClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse, - inAtLeast = setOf("1.50.0"), - trackedIn = - setOf( - // TODO(https://github.com/smithy-lang/smithy/pull/2341) - "https://github.com/smithy-lang/smithy/pull/2341", - ), - ), - ) + Set = setOf() private fun fixRestJsonClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse( testCase: TestCase.ResponseTest, @@ -296,7 +282,9 @@ class ClientProtocolTestGenerator( "Operation" to codegenContext.symbolProvider.toSymbol(operationShape), "RuntimePlugin" to RT.runtimePlugin(rc), "SdkBody" to RT.sdkBody(rc), - "SharedResponseDeserializer" to RT.smithyRuntimeApiClient(rc).resolve("client::ser_de::SharedResponseDeserializer"), + "SharedResponseDeserializer" to + RT.smithyRuntimeApiClient(rc) + .resolve("client::ser_de::SharedResponseDeserializer"), ) if (expectedShape.hasTrait()) { val errorSymbol = codegenContext.symbolProvider.symbolForOperationError(operationShape) diff --git a/gradle.properties b/gradle.properties index 65b5fdb415..b5e1d59057 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,31 +2,23 @@ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # - # Rust MSRV (entered into the generated README) rust.msrv=1.78.0 - # To enable debug, swap out the two lines below. # When changing this value, be sure to run `./gradlew --stop` to kill the Gradle daemon. # org.gradle.jvmargs=-Xmx1024M -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:5006 org.gradle.jvmargs=-Xmx1024M - # Version number to use for the generated stable runtime crates smithy.rs.runtime.crate.stable.version=1.1.7 - # Version number to use for the generated unstable runtime crates smithy.rs.runtime.crate.unstable.version=0.60.6 - kotlin.code.style=official - # codegen smithyGradlePluginVersion=0.9.0 -smithyVersion=1.50.0 +smithyVersion=1.51.0 allowLocalDeps=false - # kotlin kotlinVersion=1.9.20 - # testing/utility ktlintVersion=1.0.1 kotestVersion=5.8.0