| Package | Description |
|---|---|
| io.vertx.ext.web.openapi.router | |
| io.vertx.openapi.validation |
| 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 |
|---|---|
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)
|
| Modifier and Type | Method and Description |
|---|---|
Future<ValidatedRequest> |
RequestValidator.validate(ValidatableRequest params,
String operationId)
Validates the passed request parameters against the operation defined in the related OpenAPI contract.
|
Copyright © 2023 Eclipse. All rights reserved.