Skip to content

Commit 4d6be94

Browse files
author
luigi
committed
fix
1 parent d1ef91b commit 4d6be94

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import kotlin.collections.iterator
1616
* For a given [operation], this generator traverses the input structure and:
1717
* - Recursively inspects members of structures and lists.
1818
* - Applies trait-based validations (e.g., required, length, range).
19-
* - Emits Kotlin validation functions that check constraints at runtime.
19+
* - Generates Kotlin validation functions that check constraints at runtime.
2020
*
2121
* Output is written into a `<Operation>RequestConstraints.kt` file in the generated `constraints` package.
2222
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal class ConstraintUtilsGenerator(
3030
}
3131

3232
/**
33-
* Emits the `sizeOf()` function.
33+
* Generates the `sizeOf()` function.
3434
*
3535
* This utility computes a generalized "size" for multiple types:
3636
* - Collections, arrays, maps → `size`
@@ -54,7 +54,7 @@ internal class ConstraintUtilsGenerator(
5454
}
5555

5656
/**
57-
* Emits the `hasAllUniqueElements()` function.
57+
* Generates the `hasAllUniqueElements()` function.
5858
*
5959
* This utility checks if a list contains only unique elements, where uniqueness
6060
* is defined by deep structural equality:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import software.amazon.smithy.kotlin.codegen.service.ServiceTypes
1212
*
1313
* - Defines the `Application.module()` entry point for configuring the Ktor pipeline
1414
* (logging, body size limits, double receive, error handling, authentication, routing).
15-
* - Emits a concrete `KtorServiceFramework` implementation of `ServiceFramework`
15+
* - Generates a concrete `KtorServiceFramework` implementation of `ServiceFramework`
1616
* that manages lifecycle of the Ktor embedded server engine.
1717
*/
1818
internal fun KtorStubGenerator.writeServerFrameworkImplementation(writer: KotlinWriter) {

0 commit comments

Comments
 (0)