Spring Boot 3.5 best practices

Proprietary

Applies best practices to Spring Boot 3.5+ applications.

io.moderne.java.spring.boot3.SpringBoot3BestPractices
mod run . --recipe=io.moderne.java.spring.boot3.SpringBoot3BestPractices

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. Spring Boot 3.3 best practices (only)
  2. Migrate to Spring Boot 3.5
  3. Convert field injection to constructor injection
  4. Convert JAX-RS annotations to Spring Web
  5. Replace @Controller with @RestController
  6. Migrate RestTemplate to RestClient