Unfold YAML properties
Apache 2.0Transforms dot-separated property keys in YAML files into nested map hierarchies to enhance clarity and readability, or for compatibility with tools expecting structured YAML.
org. openrewrite. yaml. UnfoldPropertiesRequired
An optional list of JsonPath Plus expressions to specify keys that should not be unfolded. Separate values with commas.
An optional list of JsonPath Plus expressions that specify which keys the recipe should target only. Only the properties matching these expressions will be unfolded. Separate values with commas.
mod run . --recipe= org. openrewrite. yaml. UnfoldProperties \
-P exclusions= '$.. [org. springframework. security]' \
-P applyTo= '$.. [org. springframework. security]'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.