How to bind yaml list to a java list in springboot?
<p>I have a list in my yml file which i need to bind in my java springboot application, how do i go about it ?</p>

<p><code>fruits:
- Apple
- Bannana</code></p>

<p>Ideally i want something like </p>

<p><code>@Value("${filters.siteID}")
 List siteIDs;</code></p>