suspend fun createAwait(vertx: Vertx, url: String): OpenAPI3RouterFactory
Create a new OpenAPI3RouterFactory
url
- location of your spec. It can be an absolute path, a local path or remote url (with HTTP protocol)
handler
- When specification is loaded, this handler will be called with AsyncResult
suspend fun createAwait(vertx: Vertx, url: String, auth: List<JsonObject>): OpenAPI3RouterFactory
Create a new OpenAPI3RouterFactory
url
- location of your spec. It can be an absolute path, a local path or remote url (with HTTP protocol)
auth
- list of authorization values needed to access the remote url. Each item should be json representation of an
handler
- When specification is loaded, this handler will be called with AsyncResult