Closed
Description
This is a feature request
Automatically apply @Introspected
to @ConfigurationProperties
if they have validation rule
you may wish to add a feature request that automatically applies @Introspected
to @ConfigurationProperties
that have validation rules.
@ConfigurationProperties("my.prefix")
public class FooConfigurationProperties {
@NotBlank
private String serverToken;
...
...
}
At this moment it is necessary to manually annotate the class with @Introspected
to use the new Bean Validation module (without hibernate-validator)