Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions smithy-aws-protocol-tests/model/restJson1/event-stream.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use aws.protocoltests.shared#DateTime
use smithy.test#InitialHttpRequest
use smithy.test#InitialHttpResponse
use smithy.test#eventStreamTests
use smithy.framework#ValidationException

@streaming
union EventStream {
Expand Down Expand Up @@ -584,6 +585,8 @@ operation InputStream {
@httpPayload
stream: EventStream
}

errors: [ValidationException]
}

@eventStreamTests([
Expand Down Expand Up @@ -1110,6 +1113,7 @@ operation OutputStream {
}

errors: [
ValidationException
ServiceUnavailableError
]
}
Expand Down Expand Up @@ -2098,6 +2102,8 @@ operation DuplexStream {
@httpPayload
stream: EventStream
}

errors: [ValidationException]
}

@eventStreamTests([
Expand Down Expand Up @@ -2145,6 +2151,8 @@ operation InputStreamWithInitialRequest {
@httpPayload
stream: EventStream
}

errors: [ValidationException]
}

@eventStreamTests([
Expand Down Expand Up @@ -2327,6 +2335,8 @@ operation DuplexStreamWithDistinctStreams {
@httpPayload
stream: SingletonEventStream
}

errors: [ValidationException]
}

union SingletonEventStream {
Expand Down
Loading