Skip to content

Commit

Permalink
Fix typo in event stream content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich authored Nov 13, 2024
1 parent 8da7457 commit 1cbc2ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ the model and might rely on protocol-specific information.
HttpBindingIndex index = HttpBindingIndex.of(model);
String defaultPayloadType = "application/json";
String eventStreamType = "application/vnd.amazon.event-stream");
String eventStreamType = "application/vnd.amazon.eventstream");
String contentType = index
.determineRequestContentType(operation, defaultPayloadType, eventStreamType)
.orElseNull();
Expand All @@ -302,7 +302,7 @@ the model and might rely on protocol-specific information.
HttpBindingIndex index = HttpBindingIndex.of(model);
String defaultPayloadType = "application/json";
String eventStreamType = "application/vnd.amazon.event-stream");
String eventStreamType = "application/vnd.amazon.eventstream");
String contentType = index
.determineResponseContentType(operation, defaultPayloadType, eventStreamType)
.orElseNull();
Expand Down

0 comments on commit 1cbc2ba

Please sign in to comment.