Migrate JAX-RS Response to Spring MVC ResponseEntity

MSAL

Replaces all JAX-RS Response with Spring MVC ResponseEntity.

org.openrewrite.java.spring.mvc.JaxrsToSpringMvcResponseEntity
mod run . --recipe=org.openrewrite.java.spring.mvc.JaxrsToSpringMvcResponseEntity

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type Status to HttpStatus
  2. Change type Status to HttpStatus
  3. Change type ResponseBuilder to BodyBuilder
  4. Change type ResponseBuilder to BodyBuilder
  5. Change type Response to ResponseEntity
  6. Change type Response to ResponseEntity