Migrate HttpStatus enum values to RFC 9110 names

Proprietary

Spring Framework 7.0 aligns HttpStatus enum values with RFC 9110. This recipe replaces deprecated status code constants with their RFC 9110 equivalents: PAYLOAD_TOO_LARGE becomes CONTENT_TOO_LARGE and UNPROCESSABLE_ENTITY becomes UNPROCESSABLE_CONTENT.

io.moderne.java.spring.framework7.MigrateHttpStatusToRfc9110
mod run . --recipe=io.moderne.java.spring.framework7.MigrateHttpStatusToRfc9110

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