Package | Description |
---|---|
io.vertx.ext.web.openapi.router | |
io.vertx.openapi.contract | |
io.vertx.openapi.validation |
Modifier and Type | Method and Description |
---|---|
Operation |
OpenAPIRoute.getOperation() |
Modifier and Type | Method and Description |
---|---|
Future<ValidatableRequest> |
RequestExtractor.extractValidatableRequest(RoutingContext routingContext,
Operation operation)
Extracts and transforms the parameters and the body of an incoming request into a
format
that can be validated by the RequestValidator . |
Modifier and Type | Method and Description |
---|---|
Operation |
OpenAPIContract.findOperation(String urlPath,
HttpMethod method)
Finds the related
Operation object based on the passed url path and method. |
Operation |
OpenAPIContract.operation(String operationId)
Access to an operation defined in the contract with
operationId . |
Modifier and Type | Method and Description |
---|---|
List<Operation> |
Path.getOperations() |
List<Operation> |
OpenAPIContract.operations() |
Modifier and Type | Method and Description |
---|---|
static Future<ValidatableRequest> |
RequestUtils.extract(HttpServerRequest request,
Operation operation)
Extracts and transforms the parameters and the body of an incoming request into a
format
that can be validated by the RequestValidator . |
static Future<ValidatableRequest> |
RequestUtils.extract(HttpServerRequest request,
Operation operation,
java.util.function.Supplier<Future<Buffer>> bodySupplier)
Like
RequestUtils.extract(HttpServerRequest, Operation) , but offers to pass a supplier fpr the body. |
static Future<ValidatableRequest> |
ValidatableRequest.of(HttpServerRequest request,
Operation operation)
|
Copyright © 2024 Eclipse. All rights reserved.