This commit is contained in:
Phillip Webb
2017-11-15 11:59:09 -08:00
parent cf485ce144
commit f647f5689f
13 changed files with 38 additions and 32 deletions

View File

@@ -728,6 +728,8 @@ In the preceding example, when `my.servers` is redefined in several places, the
the `PropertySource` with higher precedence will override any other configuration for that list.
Both comma-separated lists and yaml lists can be used for completely overriding the contents of the list.
[[boot-features-external-config-exposing-yaml-to-spring]]
==== Exposing YAML as Properties in the Spring Environment
The `YamlPropertySourceLoader` class can be used to expose YAML as a `PropertySource` in