File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
web-examples/src/main/java/io/vertx/example/web/openapi3 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1010import io .vertx .ext .web .Router ;
1111import io .vertx .ext .web .api .RequestParameter ;
1212import io .vertx .ext .web .api .RequestParameters ;
13- import io .vertx .ext .web .api .contract .DesignDrivenRouterFactoryOptions ;
13+ import io .vertx .ext .web .api .contract .RouterFactoryOptions ;
1414import io .vertx .ext .web .api .contract .openapi3 .OpenAPI3RouterFactory ;
1515import io .vertx .ext .web .api .validation .ValidationException ;
1616
@@ -65,7 +65,7 @@ public void start(Future future) {
6565 });
6666
6767 // Before router creation you can enable/disable various router factory behaviours
68- DesignDrivenRouterFactoryOptions factoryOptions = new DesignDrivenRouterFactoryOptions ()
68+ RouterFactoryOptions factoryOptions = new RouterFactoryOptions ()
6969 .setMountValidationFailureHandler (false ) // Disable mounting of dedicated validation failure handler
7070 .setMountResponseContentTypeHandler (true ); // Mount ResponseContentTypeHandler automatically
7171
You can’t perform that action at this time.
0 commit comments