Migrate Additional Spring Web Parameter Annotations

MSAL

Migrates additional Spring Web parameter annotations not covered by the main WebToJaxRs recipe. Includes @MatrixVariable, @CookieValue, and other edge cases.

org.openrewrite.quarkus.spring.MigrateRequestParameterEdgeCases
mod run . --recipe=org.openrewrite.quarkus.spring.MigrateRequestParameterEdgeCases

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. Change type MatrixVariable to MatrixParam
  2. Change type CookieValue to CookieParam
  3. Remove annotation org.springframework.web.bind.annotation.SessionAttribute
  4. Remove annotation org.springframework.web.bind.annotation.RequestAttribute