spring.main.showBanner
to spring.main.show-banner
. With Spring's relaxed binding, kebab-case
may be used in properties files and still be converted to configuration beans. Note, an exception to this is the case of @Value
, which is match-sensitive. For example, @Value("${anExampleValue}")
will not match an-example-value
. The Spring reference documentation recommends using kebab-case
for properties where possible.​-Drewrite.activeRecipesorg.openrewrite.java.spring.YamlPropertiesToKebabCase