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
* service init, code to separate client and service
* server can be ran
* application in build.gradle.kts
* detele non-finished code
* ktlintformat
* change style
* ktlintformat
* add abstraction for service
* minor fix
* minor fix
* cbor serde
* fix
* formatting
* comment
* fix
* fix
* generate routing based on smithy file
* ktlint format
* service framework abstraction
* ktlint foramt
* logging
* ktlint format
* add ContentTypeGuard
* ktlint
* fix content type guard
* ktlint
* move some parameters, e.g. engine, port, log level to be chosen in runtime rather than compile
* ktlint
* fix
* error handler
* ktlint
* fix logging
* error handler message envelope
* use error handler for content guard type
* fix
* fix
* ktlint
* ktlint
* fix
* remove manual input
* fix
* abstraction of service framework and run type
* simplify the code
* fix
---------
Co-authored-by: luigi <[email protected]>
@@ -153,7 +153,7 @@ class CodegenVisitor(context: PluginContext) : ShapeVisitor.Default<Unit>() {
153
153
}
154
154
155
155
if (generateServiceProject) {
156
-
val serviceStubGenerator=ServiceStubGenerator(baseGenerationContext, writers, fileManifest)
156
+
val serviceStubGenerator:AbstractStubGenerator= settings.serviceStub.framework.getServiceFrameworkGenerator(baseGenerationContext, writers, fileManifest)
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinDependency.kt
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,8 @@ const val RUNTIME_GROUP: String = "aws.smithy.kotlin"
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/GradleGenerator.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ fun writeGradleBuild(
56
56
{ w:AbstractCodeWriter<*> ->
57
57
if (generateServiceProject) {
58
58
w.write("application")
59
+
w.write("kotlin(#S) version #S", "plugin.serialization", SERIALIZATION_PLUGIN)
0 commit comments