Skip to content

Commit 8b1d53e

Browse files
authored
chore: pass httpbindingresolver to protocol codegen tests (#467)
1 parent a15a5fb commit 8b1d53e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHttpBindingProtocolGenerator.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ abstract class AWSHttpBindingProtocolGenerator : HttpBindingProtocolGenerator()
5858
errorTestBuilder,
5959
httpProtocolCustomizable,
6060
operationMiddleware,
61+
getProtocolHttpBindingResolver(ctx, defaultContentType),
6162
serdeContext,
6263
imports,
6364
ignoredTests

codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml/RestXmlProtocolGenerator.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class RestXmlProtocolGenerator : AWSHttpBindingProtocolGenerator() {
8080
errorTestBuilder,
8181
httpProtocolCustomizable,
8282
operationMiddleware,
83+
getProtocolHttpBindingResolver(ctx, defaultContentType),
8384
serdeContext,
8485
listOf(),
8586
testsToIgnore

0 commit comments

Comments
 (0)