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: codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/smoketests/SmokeTestAwsVendorParamsIntegration.kt
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,11 @@ fun coerceParameterToModeledShape(
69
69
symbolProvider:SymbolProvider
70
70
) {
71
71
if (customShape ==null|| customShape.isCompatibleWithNodeTypes) {
72
-
writer.write("#L", param.format())
72
+
writer.writeInline("#L", param.format())
73
73
}
74
74
75
+
if (customShape !=null) writer.write("// ${customShape::class.simpleName}")
76
+
75
77
when (customShape) {
76
78
isDocumentShape-> {} // TODO: Unknown !
77
79
isBlobShape-> {} // TODO: Unknown !
@@ -84,7 +86,7 @@ fun coerceParameterToModeledShape(
84
86
isMemberShape-> {} // TODO: Important !
85
87
isTimestampShape-> {} // TODO: Unknown !
86
88
isUnionShape-> {} // TODO: Important !
87
-
else->throwException("Code generation unsupported for smoke test operation parameter '$name' of type '$customShape'.")
89
+
// else -> throw Exception("Code generation unsupported for smoke test operation parameter '$name' of type '$customShape'.")
0 commit comments