Convert Spring ResponseEntity to JAX-RS Response
MSALConverts the ResponseEntity return values of JAX-RS resource methods to JAX-RS Response, building each ResponseEntity expression with the equivalent Response builder chain. Resource methods that use ResponseEntity in a way that has no JAX-RS equivalent are left unchanged and marked for manual migration, and ResponseEntity uses outside resource methods, such as RestTemplate results, are left alone.
org. openrewrite. quarkus. spring. ResponseEntityToJaxRsResponsemod run . --recipe= org. openrewrite. quarkus. spring. ResponseEntityToJaxRsResponseInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.