// Doc represents a struct documentation rendered from comments by docgen.
type Doc struct {
// Values is only used to render valid values list in the documentation.
Values []string
I wonder if we could use those values not only in the documentation but also in config validation.
Our
docgen
tool allows us to document valid values like that:Those values are accumulated there:
I wonder if we could use those values not only in the documentation but also in config validation.