Skip to content

Commit a1ec3c7

Browse files
authored
chore: smithy version bump (#1433)
1 parent 9035db1 commit a1ec3c7

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

codegen/smithy-aws-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/core/AwsHttpBindingProtocolGenerator.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ abstract class AwsHttpBindingProtocolGenerator : HttpBindingProtocolGenerator()
9696
}
9797
}
9898

99+
@Suppress("DEPRECATION")
99100
private fun renderThrowOperationError(
100101
ctx: ProtocolGenerator.GenerationContext,
101102
op: OperationShape,

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/model/knowledge/SerdeIndex.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ class SerdeIndex(private val model: Model) : KnowledgeIndex {
8585
.toMutableSet()
8686

8787
// add shapes reachable from operational errors
88+
@Suppress("DEPRECATION")
8889
val modeledErrors = operations
8990
.flatMap { it.errors }
9091
.flatMap { model.expectShape(it).members() }

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/ExceptionBaseClassGenerator.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ open class ServiceExceptionBaseClassGenerator(
8282
protected open fun renderExtra(ctx: CodegenContext, writer: KotlinWriter) { }
8383

8484
// Compare generated base exception name with all error type names. Throw exception if not unique.
85+
@Suppress("DEPRECATION")
8586
private fun checkForCollision(ctx: CodegenContext, exceptionSymbol: Symbol) {
8687
val topDownIndex = TopDownIndex.of(ctx.model)
8788
val operations = topDownIndex.getContainedOperations(ctx.settings.service)

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/protocol/HttpBindingProtocolGenerator.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ abstract class HttpBindingProtocolGenerator : ProtocolGenerator {
122122
}
123123
}
124124

125+
@Suppress("DEPRECATION")
125126
private fun generateDeserializers(ctx: ProtocolGenerator.GenerationContext) {
126127
val resolver = getProtocolHttpBindingResolver(ctx.model, ctx.service)
127128
// render HttpDeserialize for all operation outputs

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ micrometer-version = "1.15.2"
1818
binary-compatibility-validator-version = "0.18.1"
1919

2020
# codegen
21-
smithy-version = "1.61.0"
21+
smithy-version = "1.62.0"
2222

2323
# testing
2424
junit-version = "5.13.4"

0 commit comments

Comments
 (0)