Find @RequestMapping(...) without an HTTP method
Proprietary@RequestMapping("/x") matches every HTTP verb, which is rarely the intent. The verb-specific shortcuts (@GetMapping/@PostMapping/...) are clearer at a glance and prevent accidental dual-method routes.
org. openrewrite. kotlin. spring. FindRequestMappingWithoutVerb$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindRequestMappingWithoutVerb$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.