Delete a Spring configuration property

MSAL

Delete a spring configuration property from any configuration file that contains a matching key.

org.openrewrite.java.spring.DeleteSpringProperty

Required

The property key to delete. Supports glob expressions

mod run . --recipe=org.openrewrite.java.spring.DeleteSpringProperty \ -P propertyKey='management.endpoint.configprops.*'

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