32
32
import software .amazon .smithy .typescript .codegen .auth .http .sections .ResolveHttpAuthSchemeConfigFunctionReturnBlockCodeSection ;
33
33
import software .amazon .smithy .typescript .codegen .integration .RuntimeClientPlugin ;
34
34
import software .amazon .smithy .typescript .codegen .integration .RuntimeClientPlugin .Convention ;
35
- import software .amazon .smithy .typescript .codegen .sections .ClientPropertiesCodeSection ;
35
+ import software .amazon .smithy .typescript .codegen .sections .ClientBodyExtraCodeSection ;
36
36
import software .amazon .smithy .utils .CodeInterceptor ;
37
37
import software .amazon .smithy .utils .CodeSection ;
38
38
import software .amazon .smithy .utils .SmithyInternalApi ;
@@ -104,7 +104,7 @@ public List<RuntimeClientPlugin> getClientPlugins() {
104
104
public List <? extends CodeInterceptor <? extends CodeSection , TypeScriptWriter >> interceptors (
105
105
TypeScriptCodegenContext codegenContext
106
106
) {
107
- return List .of (CodeInterceptor .appender (ClientPropertiesCodeSection .class , (w , s ) -> {
107
+ return List .of (CodeInterceptor .appender (ClientBodyExtraCodeSection .class , (w , s ) -> {
108
108
if (!s .getSettings ().generateClient ()
109
109
|| !s .getSettings ().getExperimentalIdentityAndAuth ()
110
110
|| !s .getApplicationProtocol ().isHttpProtocol ()) {
@@ -116,7 +116,7 @@ private getDefaultHttpAuthSchemeParametersProvider() {
116
116
return defaultWeatherHttpAuthSchemeParametersProvider;
117
117
}
118
118
*/
119
- w .openBlock ("private getDefaultHttpAuthSchemeParametersProvider() {" , "}\n " , () -> {
119
+ w .openBlock ("private getDefaultHttpAuthSchemeParametersProvider() {" , "}" , () -> {
120
120
String httpAuthSchemeParametersProviderName = "default"
121
121
+ CodegenUtils .getServiceName (s .getSettings (), s .getModel (), s .getSymbolProvider ())
122
122
+ "HttpAuthSchemeParametersProvider" ;
@@ -133,7 +133,7 @@ private getIdentityProviderConfigProvider() {
133
133
});
134
134
}
135
135
*/
136
- w .openBlock ("private getIdentityProviderConfigProvider() {" , "}\n " , () -> {
136
+ w .openBlock ("private getIdentityProviderConfigProvider() {" , "}" , () -> {
137
137
w .addDependency (TypeScriptDependency .SMITHY_CORE );
138
138
w .addImport ("DefaultIdentityProviderConfig" , null , TypeScriptDependency .SMITHY_CORE );
139
139
w .openBlock ("""
0 commit comments