Commit 2db2daed authored by Stephane Nicoll's avatar Stephane Nicoll

Clarify which part of @ConfigurationProperties is internal API

Closes gh-19199
parent 8f9d9fa2
......@@ -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]
====
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment