open static fun createEnumTypeValidatorWithInnerValidator(allowedValues: MutableList<String>, innerValidator: ParameterTypeValidator): ParameterTypeValidator
Create an enum type validator
allowedValues - allowed values. It can't be null
innerValidator - After check if value is one of the lists, you can pass the value to an inner validator. It can be null
Return