Skip to content

Commit 800cccc

Browse files
authored
fix: update event stream model test template (#673)
1 parent b4a97d4 commit 800cccc

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "586a5276-46a2-498e-88e3-33f31efb9e2a",
3+
"type": "bugfix",
4+
"description": "Update event stream model test template"
5+
}

tests/codegen/event-stream/event-stream-model-template.smithy

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ operation TestStreamOp {
1616
errors: [SomeError],
1717
}
1818

19-
structure TestStreamInputOutput { @required value: TestStream }
19+
structure TestStreamInputOutput {
20+
@httpPayload
21+
@required
22+
value: TestStream
23+
}
2024

2125
@error("client")
2226
structure SomeError {
@@ -71,5 +75,3 @@ union TestStream {
7175
MessageWithNoHeaderPayloadTraits: MessageWithNoHeaderPayloadTraits,
7276
SomeError: SomeError,
7377
}
74-
75-

0 commit comments

Comments
 (0)