Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ktlint
Browse files Browse the repository at this point in the history
lauzadis committed Oct 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4eb4f96 commit bb7e16a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ class RpcV2Cbor : AwsHttpBindingProtocolGenerator() {
override fun render(ctx: ProtocolGenerator.GenerationContext, op: OperationShape, writer: KotlinWriter) {
val acceptHeaderValue = if (op.isOutputEventStream(ctx.model)) ACCEPT_HEADER_EVENT_STREAM else ACCEPT_HEADER
MutateHeadersMiddleware(
extraHeaders = mapOf("Accept" to acceptHeaderValue)
extraHeaders = mapOf("Accept" to acceptHeaderValue),
).render(ctx, op, writer)
}
}

0 comments on commit bb7e16a

Please sign in to comment.