Module: vertx-web-api-contract-js/open_api3_router_factory

Classes

OpenAPI3RouterFactory

Methods

(static) OpenAPI3RouterFactory.createRouterFactoryFromFile(vertx, filename, handler)

Create a new OpenAPI3RouterFactory from a filename
Parameters:
Name Type Description
vertx Vertx
filename string
handler function When specification is loaded, this handler will be called with AsyncResult
Source:

(static) OpenAPI3RouterFactory.createRouterFactoryFromURL(vertx, url, handler)

Create a new OpenAPI3RouterFactory from an url
Parameters:
Name Type Description
vertx Vertx
url string
handler function When specification is loaded, this handler will be called with AsyncResult
Source: