Skip to content

Commit da8622a

Browse files
committed
Added @ConfigurationProperties validation example
1 parent 36fc4df commit da8622a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

configuration-property-validation/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
HELP.md
21
.gradle
32
build/
43
!gradle/wrapper/gradle-wrapper.jar

configuration-property-validation/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Validating @ConfigurationProperties in Spring Boot
22

3-
The @ConfigurationProperties annotation in Spring Boot is used to bind configuration parameters typically from properties or YAML files to a Java class.
3+
The `@ConfigurationProperties` annotation in Spring Boot is used to bind configuration parameters typically from properties or YAML files to a Java class.
44

55
But, did you know you also can validate configuration properties at spring application startup with @ConfigurationProperties annotation?
66

0 commit comments

Comments
 (0)