Add missing @Configuration annotation
MSALClass having @Bean annotation over any methods but missing @Configuration annotation over the declaring class would have @Configuration annotation added. Classes referenced as scoped configuration via .class (e.g. @FeignClient(configuration = X.class)) are skipped to preserve their intended per-client scope.
org. openrewrite. java. spring. boot2. AddConfigurationAnnotationIfBeansPresentmod run . --recipe= org. openrewrite. java. spring. boot2. AddConfigurationAnnotationIfBeansPresentInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.