Package | Description |
---|---|
io.vertx.ext.web.api.contract.openapi3 |
Modifier and Type | Method and Description |
---|---|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addFailureHandlerByOperationId(String operationId,
io.vertx.core.Handler<RoutingContext> failureHandler)
Add a failure handler by operation_id field in Operation object
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addHandlerByOperationId(String operationId,
io.vertx.core.Handler<RoutingContext> handler)
Add an handler by operation_id field in Operation object
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addSecuritySchemaScopeValidator(String securitySchemaName,
String scopeName,
io.vertx.core.Handler<RoutingContext> handler)
Add a particular scope validator.
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.mountOperationToEventBus(String operationId,
String address)
Specify to route an incoming request for specified operation id to a Web Api Service mounted at the specified address on event bus.
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.mountServiceFromTag(String tag,
String address)
Specify to route an incoming request for all operations that contains the specified tag to a Web Api Service mounted at the specified address on event bus.
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.mountServiceInterface(Class interfaceClass,
String address)
Introspect the Web Api Service interface to route to service all matching method names with operation ids.
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.mountServicesFromExtensions()
Introspect the OpenAPI spec to mount handlers for all operations that specifies a x-vertx-event-bus annotation.
|
Modifier and Type | Method and Description |
---|---|
static void |
OpenAPI3RouterFactory.create(io.vertx.core.Vertx vertx,
String url,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OpenAPI3RouterFactory>> handler)
Create a new OpenAPI3RouterFactory
|
static void |
OpenAPI3RouterFactory.create(io.vertx.core.Vertx vertx,
String url,
List<io.vertx.core.json.JsonObject> auth,
io.vertx.core.Handler<io.vertx.core.AsyncResult<OpenAPI3RouterFactory>> handler)
Create a new OpenAPI3RouterFactory
|
Copyright © 2019 Eclipse. All rights reserved.