diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index 10fec210da..9dfde22755 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -575,6 +575,8 @@ They must be defined as an environment property (typically an OS environment var If `spring.config.location` contains directories (as opposed to files), they should end in `/` (at runtime they will be appended with the names generated from `spring.config.name` before being loaded). Files specified in `spring.config.location` are used as-is. +Whether specified directly or contained in a directory, configuration files must include a file extension in their name. +Typical extensions that are supported out-of-the-box are `.properties`, `.yaml`, and `.yml`. When multiple locations are specified, the later ones can override the values of earlier ones.