vertx / io.vertx.rxjava.ext.web.api.contract.openapi3 / OpenAPI3RouterFactory / enableValidationFailureHandler

# enableValidationFailureHandler

`open fun enableValidationFailureHandler(enable: Boolean): DesignDrivenRouterFactory<Any>`

Overrides DesignDrivenRouterFactory.enableValidationFailureHandler

Enable or disable validation failure handler. If you enable it, during router creation it will be mounted a built-in (or custom with function ) ValidationException handler as a failure handler. If failure is different from ValidationException, it will be called the next failure handler.

### Parameters

`enable` -

Return