Skip to content

allowableValues Ignored by the UI #554

@maryatplatfora

Description

@maryatplatfora

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions