Skip to content

Commit 9485a73

Browse files
authored
fix: add dependency with import (#1119)
1 parent 3ad9987 commit 9485a73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ private void generateOperationRequestSerializer(
678678
// Then construct the request from them. The client's resolved endpoint can
679679
// be default one or supplied by users.
680680

681+
writer.addDependency(TypeScriptDependency.SMITHY_CORE);
681682
writer.addImport("requestBuilder", "rb", TypeScriptDependency.SMITHY_CORE);
682683
writer.write("const b = rb(input, context);");
683684

0 commit comments

Comments
 (0)