Add @Valid to nested properties in @ConfigurationProperties

MSAL

Adds @Valid annotation to fields in @ConfigurationProperties classes that contain nested properties with validation constraints.

org.openrewrite.java.spring.boot3.AddValidToNestedConfigProperties
mod run . --recipe=org.openrewrite.java.spring.boot3.AddValidToNestedConfigProperties

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.