Add Validated annotation to nested configuration property classes.

See gh-128.
This commit is contained in:
Mark Paluch
2017-05-27 23:04:08 +02:00
parent 4213170c69
commit dc8f4f3f96

View File

@@ -110,6 +110,7 @@ public class VaultProperties implements EnvironmentAware {
}
@Data
@Validated
public static class AppIdProperties {
/**
@@ -145,6 +146,7 @@ public class VaultProperties implements EnvironmentAware {
}
@Data
@Validated
public static class AppRoleProperties {
/**
@@ -164,6 +166,7 @@ public class VaultProperties implements EnvironmentAware {
}
@Data
@Validated
public static class AwsEc2Properties {
/**
@@ -191,6 +194,7 @@ public class VaultProperties implements EnvironmentAware {
}
@Data
@Validated
public static class Ssl {
/**