Skip to content

Commit 2db2dae

Browse files
committed
Clarify which part of @ConfigurationProperties is internal API
Closes gh-19199
1 parent 8f9d9fa commit 2db2dae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -793,9 +793,7 @@ The preceding POJO defines the following properties:
793793
* `acme.security.password`.
794794
* `acme.security.roles`, with a collection of `String`.
795795

796-
NOTE: Spring Boot auto-configuration heavily makes use of `@ConfigurationProperties` for easily configuring auto-configured beans.
797-
Similar to auto-configuration classes, `@ConfigurationProperties` classes available in Spring Boot are for internal use only.
798-
The properties that map to the class, which are configured via properties files, YAML files, environment variables etc., are public API but the content of the class itself is not meant to be used directly.
796+
NOTE: The properties that map to `@ConfigurationProperties` classes available in Spring Boot, which are configured via properties files, YAML files, environment variables etc., are public API but the accessors (getters/setters) of the class itself are not meant to be used directly.
799797

800798
[NOTE]
801799
====

0 commit comments

Comments
 (0)