Spring Boot - Application Configuration
You want to bind a list of strings from
Which of the following is the correct way to declare the property in a
application.yml like:app:
servers:
- host1
- host2
- host3Which of the following is the correct way to declare the property in a
@ConfigurationProperties class?