use of io.vertx.ext.web.api.contract.openapi3.impl.OpenAPI3RouterFactoryImpl in project vertx-web by vert-x3.
the class OpenAPI3ParametersUnitTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
// Have to stop default server of WebTestBase
stopServer();
apiClient = new io.vertx.ext.web.api.contract.openapi3.ApiClient(webClient);
routerFactory = new OpenAPI3RouterFactoryImpl(this.vertx, spec);
routerFactory.setOptions(new RouterFactoryOptions().setRequireSecurityHandlers(false).setMountValidationFailureHandler(true).setValidationFailureHandler(generateFailureHandler()).setMountNotImplementedHandler(false));
}
Aggregations