Package | Description |
---|---|
io.vertx.json.schema | |
io.vertx.openapi.contract | |
io.vertx.openapi.validation | |
io.vertx.reactivex.json.schema | |
io.vertx.rxjava.json.schema | |
io.vertx.rxjava3.json.schema |
Modifier and Type | Method and Description |
---|---|
OutputUnit |
OutputUnit.addAnnotation(OutputUnit annotation) |
OutputUnit |
OutputUnit.addAnnotations(List<OutputUnit> annotations) |
OutputUnit |
OutputUnit.addError(OutputUnit error) |
OutputUnit |
OutputUnit.addErrors(List<OutputUnit> errors) |
OutputUnit |
OutputUnit.setAbsoluteKeywordLocation(String absoluteKeywordLocation) |
OutputUnit |
OutputUnit.setAnnotations(List<OutputUnit> annotations) |
OutputUnit |
OutputUnit.setError(String error) |
OutputUnit |
OutputUnit.setErrors(List<OutputUnit> errors) |
OutputUnit |
OutputUnit.setInstanceLocation(String instanceLocation) |
OutputUnit |
OutputUnit.setKeywordLocation(String keywordLocation) |
OutputUnit |
OutputUnit.setValid(Boolean valid) |
OutputUnit |
Validator.validate(Object instance)
Validate a given input against the initial schema.
|
Modifier and Type | Method and Description |
---|---|
List<OutputUnit> |
OutputUnit.getAnnotations() |
List<OutputUnit> |
OutputUnit.getErrors() |
Modifier and Type | Method and Description |
---|---|
OutputUnit |
OutputUnit.addAnnotation(OutputUnit annotation) |
OutputUnit |
OutputUnit.addError(OutputUnit error) |
Modifier and Type | Method and Description |
---|---|
OutputUnit |
OutputUnit.addAnnotations(List<OutputUnit> annotations) |
OutputUnit |
OutputUnit.addErrors(List<OutputUnit> errors) |
OutputUnit |
OutputUnit.setAnnotations(List<OutputUnit> annotations) |
OutputUnit |
OutputUnit.setErrors(List<OutputUnit> errors) |
Modifier and Type | Method and Description |
---|---|
Future<OutputUnit> |
OpenAPIVersion.validateContract(Vertx vertx,
SchemaRepository repo,
JsonObject contract) |
Modifier and Type | Method and Description |
---|---|
OutputUnit |
SchemaValidationException.getOutputUnit()
Returns the related OutputUnit of the validation error.
|
Modifier and Type | Method and Description |
---|---|
static SchemaValidationException |
SchemaValidationException.createInvalidValueParameter(Parameter parameter,
OutputUnit outputUnit,
JsonSchemaValidationException cause) |
static SchemaValidationException |
SchemaValidationException.createInvalidValueRequestBody(OutputUnit outputUnit,
JsonSchemaValidationException cause) |
static SchemaValidationException |
SchemaValidationException.createInvalidValueResponseBody(OutputUnit outputUnit,
JsonSchemaValidationException cause) |
Constructor and Description |
---|
SchemaValidationException(String message,
ValidatorErrorType type,
OutputUnit outputUnit,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
OutputUnit |
Validator.validate(Object instance)
Validate a given input against the initial schema.
|
Modifier and Type | Method and Description |
---|---|
OutputUnit |
Validator.validate(Object instance)
Validate a given input against the initial schema.
|
Modifier and Type | Method and Description |
---|---|
OutputUnit |
Validator.validate(Object instance)
Validate a given input against the initial schema.
|
Copyright © 2024 Eclipse. All rights reserved.