Skip to content

Commit 4d915c6

Browse files
committed
Fix smithy model template
1 parent 5c6c0bf commit 4d915c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/codegen/event-stream/src/commonTest/resources/event-stream-model-template.smithy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
namespace aws.sdk.kotlin.test
22

3-
use aws.protocols#restJson1
3+
use aws.protocols#{protocol-name}
44
use aws.api#service
55
use aws.auth#sigv4
66

7-
@restJson1
7+
@{protocol-name}
88
@sigv4(name: "event-stream-test")
99
@service(sdkId: "EventStreamTest")
1010
service TestService { version: "123", operations: [TestStreamOp] }
1111

12-
@http(method: "POST", uri: "/test-eventstream", code: 200)
12+
{op-traits}
1313
operation TestStreamOp {
1414
input: TestStreamInputOutput,
1515
output: TestStreamInputOutput,

0 commit comments

Comments
 (0)