From 2db2daeddfff38d1d3ee1d722bfb2c5ad72f8176 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 24 Dec 2019 10:46:01 +0100 Subject: [PATCH] Clarify which part of @ConfigurationProperties is internal API Closes gh-19199 --- .../src/main/asciidoc/spring-boot-features.adoc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 39997ee2de..f4e81086f9 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -793,9 +793,7 @@ The preceding POJO defines the following properties: * `acme.security.password`. * `acme.security.roles`, with a collection of `String`. -NOTE: Spring Boot auto-configuration heavily makes use of `@ConfigurationProperties` for easily configuring auto-configured beans. -Similar to auto-configuration classes, `@ConfigurationProperties` classes available in Spring Boot are for internal use only. -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. +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. [NOTE] ====