Migrate JAX-RS MediaType to Spring MVC MediaType

MSAL

Replaces all JAX-RS MediaType with Spring MVC MediaType.

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

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. Replace constant with another constant
  2. Replace constant with another constant
  3. Replace constant with another constant
  4. Replace constant with another constant
  5. Replace constant with another constant
  6. Replace constant with another constant
  7. Replace constant with another constant
  8. Replace constant with another constant
  9. Replace constant with another constant
  10. Replace constant with another constant
  11. Replace constant with another constant
  12. Replace constant with another constant
  13. Replace constant with another constant
  14. Replace constant with another constant
  15. Replace constant with another constant
  16. Replace constant with another constant
  17. Replace constant with another constant
  18. Replace constant with another constant
  19. Replace constant with another constant
  20. Replace constant with another constant
  21. Replace constant with another constant
  22. Replace constant with another constant
  23. Change type javax.ws.rs.core.MediaType to org.springframework.http.MediaType
  24. Replace constant with another constant
  25. Replace constant with another constant
  26. Replace constant with another constant
  27. Replace constant with another constant
  28. Replace constant with another constant
  29. Replace constant with another constant
  30. Replace constant with another constant
  31. Replace constant with another constant
  32. Replace constant with another constant
  33. Replace constant with another constant
  34. Replace constant with another constant
  35. Replace constant with another constant
  36. Replace constant with another constant
  37. Replace constant with another constant
  38. Replace constant with another constant
  39. Replace constant with another constant
  40. Replace constant with another constant
  41. Replace constant with another constant
  42. Replace constant with another constant
  43. Replace constant with another constant
  44. Replace constant with another constant
  45. Replace constant with another constant
  46. Change type jakarta.ws.rs.core.MediaType to org.springframework.http.MediaType