model field defalut value spring boot code example
Example 1: @value annotation spring
@Value("${value.from.file}")private String valueFromFile;
Example 2: default value for @Value
@Value("${some.key:my default value}")
private String stringWithDefaultValue;