Modifier and Type | Method and Description |
---|---|
Schema |
SchemaParser.parse(Boolean jsonSchema)
Builds a true of false schema assigning a random scope
|
Schema |
SchemaParser.parse(Boolean jsonSchema,
JsonPointer schemaPointer)
Builds a true of false schema
|
Schema |
SchemaParser.parse(JsonObject jsonSchema)
Build a schema from provided json assigning a random scope.
|
Schema |
SchemaParser.parse(JsonObject jsonSchema,
JsonPointer schemaPointer)
Build a schema from provided json.
|
Schema |
SchemaParser.parseFromString(String unparsedJson)
Build a schema from provided unparsed json assigning a random scope.
|
Schema |
SchemaParser.parseFromString(String unparsedJson,
JsonPointer schemaPointer)
Build a schema from provided unparsed json.
|
Schema |
SchemaRouter.resolveCachedSchema(JsonPointer refPointer,
JsonPointer schemaScope,
SchemaParser parser)
Resolve cached schema based on refPointer.
|
Schema |
ValidationException.schema()
Returns the schema that failed the validation
|
Modifier and Type | Method and Description |
---|---|
List<Schema> |
SchemaRouter.registeredSchemas() |
Future<Schema> |
SchemaRouter.resolveRef(JsonPointer pointer,
JsonPointer scope,
SchemaParser schemaParser)
Resolve $ref.
|
Modifier and Type | Method and Description |
---|---|
SchemaRouter |
SchemaRouter.addSchema(Schema schema,
JsonPointer... aliasScopes)
Add a parsed schema to this router.
|
SchemaRouter |
SchemaRouter.addSchemaAlias(Schema schema,
String alias)
Add an alias to a schema already registered in this router (this alias can be solved only from schema scope).
|
SchemaRouter |
SchemaRouter.addSchemaWithScope(Schema schema,
JsonPointer scope)
Add a parsed schema to this router.
|
void |
ValidationException.setSchema(Schema schema) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaRouter.resolveRef(JsonPointer pointer,
JsonPointer scope,
SchemaParser schemaParser,
Handler<AsyncResult<Schema>> handler)
Like
SchemaRouter.resolveRef(JsonPointer, JsonPointer, SchemaParser) but with a direct callback. |
Modifier and Type | Interface and Description |
---|---|
interface |
SchemaInternal
Schema should implement sync and async validator too
|
Modifier and Type | Class and Description |
---|---|
class |
FalseSchema |
class |
RecursiveRefSchema |
class |
RefSchema |
class |
SchemaImpl |
class |
TrueSchema |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaRouterImpl.resolveCachedSchema(JsonPointer refPointer,
JsonPointer scope,
SchemaParser parser) |
Modifier and Type | Method and Description |
---|---|
List<Schema> |
SchemaRouterImpl.registeredSchemas() |
Future<Schema> |
SchemaRouterImpl.resolveRef(JsonPointer pointer,
JsonPointer scope,
SchemaParser schemaParser) |
Future<Schema> |
SchemaRouterImpl.solveAllSchemaReferences(Schema schema)
Deeply resolve all references of the provided
schema |
Modifier and Type | Method and Description |
---|---|
SchemaRouter |
SchemaRouterImpl.addSchema(Schema schema,
JsonPointer... aliasScope) |
SchemaRouter |
SchemaRouterImpl.addSchemaAlias(Schema schema,
String alias) |
SchemaRouter |
SchemaRouterImpl.addSchemaWithScope(Schema schema,
JsonPointer scope) |
void |
SchemaRouterImpl.insertSchema(JsonPointer pointer,
io.vertx.json.schema.common.RouterNode initialNode,
Schema schema) |
Future<Schema> |
SchemaRouterImpl.solveAllSchemaReferences(Schema schema)
Deeply resolve all references of the provided
schema |
Modifier and Type | Method and Description |
---|---|
void |
SchemaRouterImpl.resolveRef(JsonPointer pointer,
JsonPointer scope,
SchemaParser schemaParser,
Handler<AsyncResult<Schema>> handler) |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaBuilder.build(SchemaParser parser) |
Modifier and Type | Method and Description |
---|---|
static Schema |
Draft201909SchemaParser.parse(Vertx vertx,
JsonObject schema,
URI scope)
Parse a draft2019-09 schema
|
Modifier and Type | Method and Description |
---|---|
static Schema |
Draft7SchemaParser.parse(Vertx vertx,
JsonObject schema,
URI scope)
Parse a draft-7 schema
|
Modifier and Type | Method and Description |
---|---|
static Schema |
OpenAPI3SchemaParser.parse(Vertx vertx,
JsonObject schema,
URI scope)
Parse an OpenAPI 3 schema
|
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Schema |
Schema.newInstance(Schema arg) |
Constructor and Description |
---|
Schema(Schema delegate) |
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Schema |
Schema.newInstance(Schema arg) |
Constructor and Description |
---|
Schema(Schema delegate) |
Copyright © 2021 Eclipse. All rights reserved.