vertx / io.vertx.reactivex.ext.web.api.validation / HTTPRequestValidationHandler / addPathParamWithCustomTypeValidator

# addPathParamWithCustomTypeValidator

`open fun addPathParamWithCustomTypeValidator(parameterName: String, validator: ParameterTypeValidator, allowEmptyValue: Boolean): HTTPRequestValidationHandler`

Add a path parameter with a custom type validator. All path params are required. For more informations about how to construct built-in or custom type validator, check out io.vertx.reactivex.ext.web.api.validation.ParameterTypeValidator

### Parameters

`parameterName` - expected name of parameter inside the path

`validator` - type validator

`allowEmptyValue` - true if parameter allowEmptyValue. For more informations about allowEmptyValue behaviour: `io.vertx.reactivex.ext.web.api.validation.ParameterValidationRule#allowEmptyValue`

Return
this handler