Find @GetMapping/@PostMapping/... methods returning Mono<T>
ProprietaryA controller method returning Mono<T> is a candidate for suspend fun foo(): T. The suspending form reads as plain Kotlin, integrates with structured concurrency, and Spring WebFlux handles the bridge automatically.
org. openrewrite. kotlin. spring. FindCoroutineControllerCandidate$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindCoroutineControllerCandidate$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.