Skip to content

Commit 79e3206

Browse files
committed
feat: generate default generic client implementations
1 parent a82b2e5 commit 79e3206

33 files changed

+83
-66
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "ece99a81-4736-43df-a20e-9a367e36370b",
3+
"type": "feature",
4+
"description": "Started generating default implementations for generic clients"
5+
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
software.amazon.smithy.kotlin.codegen.aws.SdkProtocolGeneratorSupplier
21
software.amazon.smithy.kotlin.codegen.aws.customization.RegionSupport
32
software.amazon.smithy.kotlin.codegen.aws.middleware.ClockSkew

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/AwsQueryTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package software.amazon.smithy.kotlin.codegen.aws.protocols
77

8+
import software.amazon.smithy.kotlin.codegen.protocols.AwsQuery
89
import software.amazon.smithy.kotlin.codegen.test.*
910
import kotlin.test.Test
1011

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/RestJson1Test.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package software.amazon.smithy.kotlin.codegen.aws.protocols
77

8+
import software.amazon.smithy.kotlin.codegen.protocols.RestJson1
89
import software.amazon.smithy.kotlin.codegen.test.*
910
import kotlin.test.Test
1011

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/RestXmlTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package software.amazon.smithy.kotlin.codegen.aws.protocols
77

8+
import software.amazon.smithy.kotlin.codegen.protocols.RestXml
89
import software.amazon.smithy.kotlin.codegen.test.*
910
import kotlin.test.Test
1011

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/RpcV2CborTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package software.amazon.smithy.kotlin.codegen.aws.protocols
66

77
import io.kotest.matchers.string.shouldNotContain
8+
import software.amazon.smithy.kotlin.codegen.protocols.RpcV2Cbor
89
import software.amazon.smithy.kotlin.codegen.test.*
910
import kotlin.test.Test
1011

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/core/AwsHttpBindingProtocolGeneratorTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
package software.amazon.smithy.kotlin.codegen.aws.protocols.core
66

77
import software.amazon.smithy.codegen.core.Symbol
8-
import software.amazon.smithy.kotlin.codegen.aws.protocols.json.AwsJsonHttpBindingResolver
98
import software.amazon.smithy.kotlin.codegen.core.KotlinWriter
109
import software.amazon.smithy.kotlin.codegen.model.expectShape
10+
import software.amazon.smithy.kotlin.codegen.protocols.core.AwsHttpBindingProtocolGenerator
11+
import software.amazon.smithy.kotlin.codegen.protocols.json.AwsJsonHttpBindingResolver
1112
import software.amazon.smithy.kotlin.codegen.rendering.protocol.HttpBindingResolver
1213
import software.amazon.smithy.kotlin.codegen.rendering.protocol.ProtocolGenerator
1314
import software.amazon.smithy.kotlin.codegen.rendering.serde.*

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/json/AwsJsonHttpBindingResolverTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
package software.amazon.smithy.kotlin.codegen.aws.protocols.json
77

88
import software.amazon.smithy.kotlin.codegen.model.expectShape
9+
import software.amazon.smithy.kotlin.codegen.protocols.json.AwsJsonHttpBindingResolver
910
import software.amazon.smithy.kotlin.codegen.test.newTestContext
1011
import software.amazon.smithy.kotlin.codegen.test.toSmithyModel
1112
import software.amazon.smithy.model.knowledge.HttpBinding

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/json/AwsJsonProtocolSerdeDescriptorGeneratorTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package software.amazon.smithy.kotlin.codegen.aws.protocols.json
77

8+
import software.amazon.smithy.kotlin.codegen.protocols.json.AwsJsonProtocolSerdeDescriptorGenerator
89
import software.amazon.smithy.kotlin.codegen.test.*
910
import software.amazon.smithy.model.shapes.ShapeId
1011
import kotlin.test.Test

codegen/smithy-aws-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/xml/RestXmlSerdeDescriptorGeneratorTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package software.amazon.smithy.kotlin.codegen.aws.protocols.xml
77

8+
import software.amazon.smithy.kotlin.codegen.protocols.xml.RestXmlSerdeDescriptorGenerator
89
import software.amazon.smithy.kotlin.codegen.test.*
910
import software.amazon.smithy.model.shapes.ShapeId
1011
import kotlin.test.Test

0 commit comments

Comments
 (0)