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

Classes

OpenAPI3RouterFactory

Methods

(static) OpenAPI3RouterFactory.create(vertx, url, auth, 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)
auth Array.<Object> list of authorization values needed to access the remote url. Each item should be json representation of an
handler function When specification is loaded, this handler will be called with AsyncResult
Source: