Skip to content

Commit

Permalink
Merge branch '2.5.x'
Browse files Browse the repository at this point in the history
Closes gh-28693
  • Loading branch information
snicoll committed Nov 16, 2021
2 parents 6d4537b + 48ebd1b commit 44b644c
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -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:
Expand Down

0 comments on commit 44b644c

Please sign in to comment.