Package | Description |
---|---|
io.vertx.openapi.validation |
Modifier and Type | Method and Description |
---|---|
static ValidatableResponse |
ValidatableResponse.create(int statusCode)
Creates a new
ValidatableResponse object based on the passed parameters. |
static ValidatableResponse |
ValidatableResponse.create(int statusCode,
Buffer body,
String contentType)
Creates a new
ValidatableResponse object based on the passed parameters. |
static ValidatableResponse |
ValidatableResponse.create(int statusCode,
Map<String,String> headers)
Creates a new
ValidatableResponse object based on the passed parameters. |
static ValidatableResponse |
ValidatableResponse.create(int statusCode,
Map<String,String> headers,
Buffer body,
String contentType)
Creates a new
ValidatableResponse object based on the passed parameters. |
Modifier and Type | Method and Description |
---|---|
Future<ValidatedResponse> |
ResponseValidator.validate(ValidatableResponse params,
String operationId)
Validates the passed response parameters against the operation defined in the related OpenAPI contract.
|
Copyright © 2024 Eclipse. All rights reserved.