Remove Kotlin nullability from Spring HTTP entity type arguments
ProprietarySpring Framework 7 narrowed HttpEntity<T> (and its subtypes ResponseEntity and RequestEntity) to <T : Any>. This recipe removes Kotlin's ? nullable marker from the type argument of these types in declared parameterized types and in explicit method-invocation type arguments, so Kotlin sources continue to compile.
io. moderne. java. spring. framework7. RemoveNullabilityFromSpringHttpEntityTypeArgumentsmod run . --recipe= io. moderne. java. spring. framework7. RemoveNullabilityFromSpringHttpEntityTypeArgumentsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.