vertx / io.vertx.rxjava.ext.web.api.validation / ParameterTypeValidator / createEnumTypeValidatorWithInnerValidator

# createEnumTypeValidatorWithInnerValidator

`open static fun createEnumTypeValidatorWithInnerValidator(allowedValues: MutableList<String>, innerValidator: ParameterTypeValidator): ParameterTypeValidator`

Create an enum type validator

### Parameters

`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