Currently, on Spring Framework 7.0.6 and Spring Boot 4.0.5, if I want to register all HTTP Service Clients in a Spring Boot application (in the current package and/or subpackages), I annotate the application class like the following:
@SpringBootApplication
@ImportHttpServices(basePackageClasses = Application.class)
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
When @ImportHttpServices is declared without additional attributes, would it be possible to scan the package and subpackages of the annotated configuration class by default?
Conceptually similar to how @EnableJpaRepositories works today.
Currently, on Spring Framework 7.0.6 and Spring Boot 4.0.5, if I want to register all HTTP Service Clients in a Spring Boot application (in the current package and/or subpackages), I annotate the application class like the following:
When
@ImportHttpServicesis declared without additional attributes, would it be possible to scan the package and subpackages of the annotated configuration class by default?Conceptually similar to how
@EnableJpaRepositoriesworks today.