0

I am working on a codebase in which we are using OpenAPI andVertx to make our rest endpoints.

RouterBuilder.create(vertx, location-to-OpenAPIspec)

This is how it is currently implemented. I was wondering if it was possible to use RouteBuilder again in the same scope with another OpenAPI specification.

Browsing about this question I was only able to find suggestions like this https://davidgarcia.dev/posts/how-to-split-open-api-spec-into-multiple-files/

  • Perhaps you can generate different routers and mount them at different paths as subRouters? https://vertx.io/docs/vertx-web/java/#_sub_routers – tsegismont Mar 22 '23 at 09:42

0 Answers0