@@ -102,7 +102,7 @@ public class SpringCodegen extends AbstractJavaCodegen
102102 public static final String SPRING_BOOT = "spring-boot" ;
103103 public static final String SPRING_CLOUD_LIBRARY = "spring-cloud" ;
104104 public static final String SPRING_HTTP_INTERFACE = "spring-http-interface" ;
105- public static final String USE_HTTP_SERVICE_PROXY_FACTORY_INTERFACES_CONFIGURATION = "useHttpServiceProxyFactoryInterfacesConfiguration " ;
105+ public static final String USE_HTTP_SERVICE_PROXY_FACTORY_INTERFACES_CONFIGURATOR = "useHttpServiceProxyFactoryInterfacesConfigurator " ;
106106 public static final String HTTP_INTERFACES_CONFIGURATOR_DEPENDENCY = "httpInterfacesConfiguratorDependency" ;
107107 public static final String API_FIRST = "apiFirst" ;
108108 public static final String SPRING_CONTROLLER = "useSpringController" ;
@@ -167,7 +167,7 @@ public class SpringCodegen extends AbstractJavaCodegen
167167 protected boolean generatedConstructorWithRequiredArgs = true ;
168168 @ Getter @ Setter
169169 protected RequestMappingMode requestMappingMode = RequestMappingMode .controller ;
170- @ Setter boolean useHttpServiceProxyFactoryInterfacesConfiguration = false ;
170+ @ Setter boolean useHttpServiceProxyFactoryInterfacesConfigurator = false ;
171171
172172 public SpringCodegen () {
173173 super ();
@@ -271,7 +271,7 @@ public SpringCodegen() {
271271 generatedConstructorWithRequiredArgs ));
272272 cliOptions .add (new CliOption (RESOURCE_FOLDER , RESOURCE_FOLDER_DESC ).defaultValue (this .getResourceFolder ()));
273273
274- cliOptions .add (CliOption .newString (USE_HTTP_SERVICE_PROXY_FACTORY_INTERFACES_CONFIGURATION ,
274+ cliOptions .add (CliOption .newString (USE_HTTP_SERVICE_PROXY_FACTORY_INTERFACES_CONFIGURATOR ,
275275 "Generate HttpInterfacesAbstractConfigurator based on an HttpServiceProxyFactory instance (as opposed to a WebClient instance, when disabled) for generating Spring HTTP interfaces. Requires spring-web 6.1+." )
276276 .defaultValue ("false" )
277277 );
@@ -452,7 +452,7 @@ public void processOpts() {
452452 }
453453
454454 convertPropertyToStringAndWriteBack (RESOURCE_FOLDER , this ::setResourceFolder );
455- convertPropertyToBooleanAndWriteBack (USE_HTTP_SERVICE_PROXY_FACTORY_INTERFACES_CONFIGURATION , this ::setUseHttpServiceProxyFactoryInterfacesConfiguration );
455+ convertPropertyToBooleanAndWriteBack (USE_HTTP_SERVICE_PROXY_FACTORY_INTERFACES_CONFIGURATOR , this ::setUseHttpServiceProxyFactoryInterfacesConfigurator );
456456
457457 typeMapping .put ("file" , "org.springframework.core.io.Resource" );
458458 importMapping .put ("org.springframework.core.io.Resource" , "org.springframework.core.io.Resource" );
@@ -537,8 +537,8 @@ public void processOpts() {
537537 }
538538 }
539539 } else if (SPRING_HTTP_INTERFACE .equals (library )) {
540- String httpInterfacesAbstractConfiguratorFile = useHttpServiceProxyFactoryInterfacesConfiguration ?
541- "httpServiceProxyFactoryInterfacesConfiguration .mustache" :
540+ String httpInterfacesAbstractConfiguratorFile = useHttpServiceProxyFactoryInterfacesConfigurator ?
541+ "httpServiceProxyFactoryInterfacesConfigurator .mustache" :
542542 "httpInterfacesConfiguration.mustache" ;
543543
544544 supportingFiles .add (new SupportingFile (httpInterfacesAbstractConfiguratorFile ,
@@ -547,7 +547,7 @@ public void processOpts() {
547547 writePropertyBack (USE_BEANVALIDATION , false );
548548
549549 writePropertyBack (HTTP_INTERFACES_CONFIGURATOR_DEPENDENCY ,
550- useHttpServiceProxyFactoryInterfacesConfiguration ?
550+ useHttpServiceProxyFactoryInterfacesConfigurator ?
551551 "HttpServiceProxyFactory" :
552552 "WebClient"
553553 );
0 commit comments