Skip to content

Commit a377629

Browse files
author
luigi
committed
merge
2 parents 36dea0e + 65ca841 commit a377629

File tree

1 file changed

+1
-1
lines changed
  • codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/service

1 file changed

+1
-1
lines changed

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/service/KtorStubGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ internal class KtorStubGenerator(
220220

221221
// Writes `Routing.kt` that maps Smithy operations → Ktor routes.
222222
override fun renderRouting() {
223-
delegator.useFileWriter("Routing.kt", ctx.settings.pkg.name) { writer ->
223+
delegator.useFileWriter("Routing.kt", pkgName) { writer ->
224224

225225
operations.forEach { shape ->
226226
writer.addImport("$pkgName.serde", "${shape.id.name}OperationDeserializer")

0 commit comments

Comments
 (0)