Is there a way to generate Javadoc entries for the enums that are at the root level and also for individual values within an enum?
{
"type" : "string",
"title": "MyEnumTitle",
"description": "Some description of my enum.",
"enum" : ["one", "secondOne", "3rd one"]
}
The above json does not cause either the title or description to be created for the enum. However, the following does generate docs:
{
"type" : "object",
"properties" : {
"myEnum" : {
"title": "MyEnumTitle",
"description": "Some description of my enum.",
"type" : "string",
"enum" : ["one", "secondOne", "3rd one"]
}
}
}
Also, is it possible to associate documentation with each entry in the enum? I'm working with an externally defined schema where the enum values I'll be parsing are not intuitive, e.g. AMCH = AddressMatch, so it would be nice to be able to have "AddressMatch" in the docs for the enum.
Many thanks,
John