Migrate OpenAPI Generator spring configuration to Spring Boot 4

MSAL

Update openapi-generator-maven-plugin executions using the spring generator to generate Spring Boot 4 and Jackson 3 sources. Replaces the deprecated useSpringBoot3 option with useSpringBoot4 and enables useJackson3, matching the Jackson 3 baseline of Spring Boot 4. Enabling useSpringBoot4 also enables useJakartaEe, so it is left implicit. The useSpringBoot4/useJackson3 options were introduced in OpenAPI Generator 7.16.0, so the plugin is upgraded to at least that version first.

org.openrewrite.java.spring.boot4.MigrateOpenApiGeneratorToSpringBoot4
mod run . --recipe=org.openrewrite.java.spring.boot4.MigrateOpenApiGeneratorToSpringBoot4

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. Upgrade Maven plugin version org.openapitools:openapi-generator-maven-plugin:7.16.x