diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/HttpProtocolTestGenerator.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/HttpProtocolTestGenerator.java index d40569058d5..71f54d99ece 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/HttpProtocolTestGenerator.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/HttpProtocolTestGenerator.java @@ -1034,7 +1034,7 @@ public Void numberNode(NumberNode node) { public Void objectNode(ObjectNode node) { // Short circuit document types, as the direct value is what we want. if (workingShape.isDocumentShape()) { - writer.writeInline(Node.prettyPrintJson(node)); + writer.writeInline(Node.prettyPrintJson(node)).writeInline(","); return null; } @@ -1256,7 +1256,7 @@ public Void numberNode(NumberNode node) { public Void objectNode(ObjectNode node) { // Short circuit document types, as the direct value is what we want. if (workingShape.isDocumentShape()) { - writer.writeInline(Node.prettyPrintJson(node)); + writer.writeInline(Node.prettyPrintJson(node)).writeInline(","); return null; }