You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: smithy-swift-codegen/src/main/kotlin/software/amazon/smithy/swift/codegen/integration/HttpProtocolServiceClient.kt
+1
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ open class HttpProtocolServiceClient(
30
30
ClientRuntimeTypes.Core.Client,
31
31
) {
32
32
writer.write("public static let clientName = \$S", serviceSymbol.name)
33
+
writer.write("public static let version = \$S", ctx.settings.moduleVersion)
Copy file name to clipboardExpand all lines: smithy-swift-codegen/src/main/kotlin/software/amazon/smithy/swift/codegen/swiftmodules/SmithyTestUtilTypes.kt
Copy file name to clipboardExpand all lines: smithy-swift-codegen/src/test/kotlin/software/amazon/smithy/swift/codegen/HttpProtocolClientGeneratorTests.kt
+1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ class HttpProtocolClientGeneratorTests {
19
19
val expected ="""
20
20
public class RestJsonProtocolClient: ClientRuntime.Client {
21
21
public static let clientName = "RestJsonProtocolClient"
22
+
public static let version = "2019-12-16"
22
23
let client: ClientRuntime.SdkHttpClient
23
24
let config: RestJsonProtocolClient.RestJsonProtocolClientConfiguration
Copy file name to clipboardExpand all lines: smithy-swift-codegen/src/test/kotlin/software/amazon/smithy/swift/codegen/manifestanddocs/PackageManifestGeneratorTests.kt
0 commit comments