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

Classes

OpenAPI3RouterFactory

Methods

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

Create a new OpenAPI3RouterFactory
Parameters:
Name Type Description
vertx Vertx
url string location of your spec. It can be an absolute path, a local path or remote url (with HTTP protocol)
handler function When specification is loaded, this handler will be called with AsyncResult
Source:

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

Parameters:
Name Type Description
vertx Vertx
url string
handler function
Source:

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

Parameters:
Name Type Description
vertx Vertx
url string
handler function
Source: