Mount Vert.x Web sub-routers on a route

Proprietary

Vert.x 5 removed Router.mountSubRouter(path, router), and since Vert.x 4 SockJSHandler.bridge(..) returns a sub-router rather than a handler. router.mountSubRouter("/api", api) becomes router.route("/api/*").subRouter(api), and route.handler(sockJSHandler.bridge(options)) becomes route.subRouter(sockJSHandler.bridge(options)).

io.moderne.vertx.MountSubRouterToRoute
mod run . --recipe=io.moderne.vertx.MountSubRouterToRoute

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.