Use @ConfigMapping

Apache 2.0

Migrate Quarkus configuration classes annotated with @ConfigProperties to the equivalent Smallrye @ConfigMapping.

org.openrewrite.quarkus.ConfigPropertiesToConfigMapping
mod run . --recipe=org.openrewrite.quarkus.ConfigPropertiesToConfigMapping

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