You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be also good to make sure the allowed values are visible in the generated .adoc file with the javadoc.
Javadoc is only available in case the enum is in the same module as the Blueprint.
In case you need to use an enum from another module, you can add @Option.AllowedValues to describe each value.
Another nice to have would be to have a link to javadoc of the enum (esp. if from another module), so the user can see the values and descriptions.
Environment Details
Problem Description
The generated config metadata JSON does not list the allowed values for an enum property.
Steps to reproduce
Create a new
public enum
type (such asGcTimeType
in this PR MP Metrics 5.1 support #9032).On a
@Prototype.Configured
type (MetricsConfigBlueprint
in the PR) add a property of that enum type:Build the component.
Inspect the generated
META-INF/helidon/config-metadata.json
file. It describes the enum property but does not list allowed values.The text was updated successfully, but these errors were encountered: