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 10
10
import io .vertx .ext .web .Router ;
11
11
import io .vertx .ext .web .api .RequestParameter ;
12
12
import io .vertx .ext .web .api .RequestParameters ;
13
- import io .vertx .ext .web .api .contract .DesignDrivenRouterFactoryOptions ;
13
+ import io .vertx .ext .web .api .contract .RouterFactoryOptions ;
14
14
import io .vertx .ext .web .api .contract .openapi3 .OpenAPI3RouterFactory ;
15
15
import io .vertx .ext .web .api .validation .ValidationException ;
16
16
@@ -65,7 +65,7 @@ public void start(Future future) {
65
65
});
66
66
67
67
// Before router creation you can enable/disable various router factory behaviours
68
- DesignDrivenRouterFactoryOptions factoryOptions = new DesignDrivenRouterFactoryOptions ()
68
+ RouterFactoryOptions factoryOptions = new RouterFactoryOptions ()
69
69
.setMountValidationFailureHandler (false ) // Disable mounting of dedicated validation failure handler
70
70
.setMountResponseContentTypeHandler (true ); // Mount ResponseContentTypeHandler automatically
71
71
You can’t perform that action at this time.
0 commit comments