Support of Lombok annotated ConfigurationProperties
Previously, no configuration properties were discovered on a class using lombok instead of regular getters/setters. This commit adds a support for some of the lombok annotations, specifically that is @Data, @Getter and @Setter. Provides the same semantic as what lombok is generating. Closes gh-2114
This commit is contained in:
@@ -190,6 +190,10 @@ will be used to populate the `description` attribute.
|
||||
NOTE: You should only use simple text with `@ConfigurationProperties` field Javadoc since
|
||||
they are not processed before being added to the JSON.
|
||||
|
||||
Properties are discovered via the presence of standard getters and setters with special
|
||||
handling for collection types (that will be detected even if only a getter is present). The
|
||||
annotation processor also supports the use of the `@Data`, `@Getter` and `@Setter` lombok
|
||||
annotations.
|
||||
|
||||
|
||||
[[configuration-metadata-nested-properties]]
|
||||
|
||||
Reference in New Issue
Block a user