I have an Enum defined in code. I'm trying to restrict the values shown in the Model with this:
@ApiModelProperty(value="One of the defined types.", allowableValues = "CSV,HIVE,PROTON,APACHE,REGEX,LINE,JSON,AVRO,DYNAMIC,XML,PLUGIN,LENS")
public Kind getAdapterType() {
return adapterType;
}
The UI is ignoring the list I provided.