diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc index 5923e0beea4d..c53b245d5a46 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc @@ -786,13 +786,13 @@ This style of configuration works particularly well with the `SpringApplication` [source,yaml,indent=0,subs="verbatim"] ---- my: - service: - remote-address: 192.168.1.1 - security: - username: admin - roles: - - USER - - ADMIN + service: + remote-address: 192.168.1.1 + security: + username: admin + roles: + - USER + - ADMIN ---- To work with `@ConfigurationProperties` beans, you can inject them in the same way as any other bean, as shown in the following example: