Find @EnableWebMvc on a Spring Boot application
Proprietary@EnableWebMvc opts out of Spring Boot's Web MVC auto-configuration. Most applications shouldn't apply it — they want Boot's defaults plus a WebMvcConfigurer for tweaks. Flag the annotation so reviewers can confirm it's intentional.
org. openrewrite. kotlin. spring. FindEnableWebMvcOnBootApp$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindEnableWebMvcOnBootApp$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.