Currently we support only @Value inside the auto documentation of properties
But the @ConfigurationProperties mentioned in #3212 are currently not supported.
Wanted
The SystemPropertiesJavaLaunchExampleGenerator , ScheduleDescriptionGenerator and
PDSExecutorConfigurationParameterDescriptionGenerator (maybe more) shall generate configuration properties as well
Solution
We implement a ConfigurationPropertiesExtractor like SpringValueExtractor and use it from caller side for the configuration properties the same way done for values.
The ConfigurationPropertiesExtractor must inspect the prefix attribute and must also inspect the fields of the annotated class etc.
Situation
Currently we support only
@Value
inside the auto documentation of properties But the@ConfigurationProperties
mentioned in #3212 are currently not supported.Wanted
The
SystemPropertiesJavaLaunchExampleGenerator
,ScheduleDescriptionGenerator
andPDSExecutorConfigurationParameterDescriptionGenerator
(maybe more) shall generate configuration properties as wellSolution
We implement a
ConfigurationPropertiesExtractor
likeSpringValueExtractor
and use it from caller side for the configuration properties the same way done for values.The
ConfigurationPropertiesExtractor
must inspect theprefix
attribute and must also inspect the fields of the annotated class etc.