Use MultipartConfigFactory with DataSize arguments
MSALMethods to set DataSize with primitive arguments were deprecated in 2.1 and removed in 2.2.
org. openrewrite. java. spring. boot2. MigrateMultipartConfigFactorymod run . --recipe= org. openrewrite. java. spring. boot2. MigrateMultipartConfigFactoryInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.