Modifier and Type | Method and Description |
---|---|
static SchemaParser |
SchemaParser.createDraft201909SchemaParser(SchemaRouter router)
Create a new
SchemaParser for Json Schema Draft2019-09 schemas |
static SchemaParser |
SchemaParser.createDraft7SchemaParser(SchemaRouter router)
Create a new
SchemaParser for Json Schema Draft-7 schemas |
static SchemaParser |
SchemaParser.createOpenAPI3SchemaParser(SchemaRouter router)
Create a new
SchemaParser for OpenAPI schemas |
SchemaParser |
SchemaParser.withStringFormatValidator(String formatName,
Predicate<String> predicate)
Add a custom format validator
|
SchemaParser |
SchemaParser.withValidatorFactory(ValidatorFactory factory)
Add a
ValidatorFactory to this schema parser to support custom keywords |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaRouter.resolveCachedSchema(io.vertx.core.json.pointer.JsonPointer refPointer,
io.vertx.core.json.pointer.JsonPointer schemaScope,
SchemaParser parser)
Resolve cached schema based on refPointer.
|
io.vertx.core.Future<Schema> |
SchemaRouter.resolveRef(io.vertx.core.json.pointer.JsonPointer pointer,
io.vertx.core.json.pointer.JsonPointer scope,
SchemaParser schemaParser)
Resolve $ref.
|
void |
SchemaRouter.resolveRef(io.vertx.core.json.pointer.JsonPointer pointer,
io.vertx.core.json.pointer.JsonPointer scope,
SchemaParser schemaParser,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Schema>> handler)
Like
SchemaRouter.resolveRef(JsonPointer, JsonPointer, SchemaParser) but with a direct callback. |
Modifier and Type | Interface and Description |
---|---|
interface |
SchemaParserInternal |
Modifier and Type | Class and Description |
---|---|
class |
BaseSchemaParser |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaRouterImpl.resolveCachedSchema(io.vertx.core.json.pointer.JsonPointer refPointer,
io.vertx.core.json.pointer.JsonPointer scope,
SchemaParser parser) |
io.vertx.core.Future<Schema> |
SchemaRouterImpl.resolveRef(io.vertx.core.json.pointer.JsonPointer pointer,
io.vertx.core.json.pointer.JsonPointer scope,
SchemaParser schemaParser) |
void |
SchemaRouterImpl.resolveRef(io.vertx.core.json.pointer.JsonPointer pointer,
io.vertx.core.json.pointer.JsonPointer scope,
SchemaParser schemaParser,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Schema>> handler) |
Constructor and Description |
---|
RecursiveRefSchema(io.vertx.core.json.JsonObject schema,
io.vertx.core.json.pointer.JsonPointer scope,
SchemaParser schemaParser,
MutableStateValidator parent) |
RefSchema(io.vertx.core.json.JsonObject schema,
io.vertx.core.json.pointer.JsonPointer scope,
SchemaParser schemaParser,
MutableStateValidator parent,
boolean executeSchemaValidators) |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaBuilder.build(SchemaParser parser) |
Modifier and Type | Class and Description |
---|---|
class |
Draft201909SchemaParser |
Modifier and Type | Class and Description |
---|---|
class |
Draft7SchemaParser |
Modifier and Type | Class and Description |
---|---|
class |
OpenAPI3SchemaParser |
Copyright © 2020 Eclipse. All rights reserved.