Skip to content

Commit f709ca0

Browse files
AllanZhengYPsrchase
authored andcommitted
fix http application protocol options from HttpOptions to HttpHandlerOptions (smithy-lang#42)
1 parent 3fefcc4 commit f709ca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/ApplicationProtocol.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public static ApplicationProtocol createDefaultHttpApplicationProtocol() {
6868
return new ApplicationProtocol(
6969
"http",
7070
SymbolReference.builder()
71-
.symbol(createHttpSymbol(TypeScriptDependency.AWS_SDK_TYPES, "HttpOptions"))
72-
.alias("__HttpOptions")
71+
.symbol(createHttpSymbol(TypeScriptDependency.AWS_SDK_TYPES, "HttpHandlerOptions"))
72+
.alias("__HttpHandlerOptions")
7373
.build(),
7474
SymbolReference.builder()
7575
.symbol(createHttpSymbol(TypeScriptDependency.AWS_SDK_PROTOCOL_HTTP, "HttpRequest"))

0 commit comments

Comments
 (0)