Convert JAX-RS annotations to Spring Web

Proprietary

Converts JAX-RS annotations such as @Path, @GET, @POST, etc., to their Spring Web equivalents like @RestController, @RequestMapping, @GetMapping, etc.

io.moderne.java.spring.framework.JaxRsToSpringWeb
mod run . --recipe=io.moderne.java.spring.framework.JaxRsToSpringWeb

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. Migrate JAX-RS MediaType to Spring MVC MediaType
  2. Migrate JAX-RS Response to Spring MVC ResponseEntity