| 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.
|
Future<Schema> |
SchemaRouter.solveAllSchemaReferences(Schema schema)
Deeply resolve all references of the provided
schema |
| Modifier and Type | Method and Description |
|---|---|
SchemaRouter |
SchemaRouter.addSchema(Schema schema)
Add a parsed schema to local cache.
|
void |
ValidationException.setSchema(Schema schema) |
Future<Schema> |
SchemaRouter.solveAllSchemaReferences(Schema schema)
Deeply resolve all references of the provided
schema |
| Modifier and Type | Class and Description |
|---|---|
class |
FalseSchema |
class |
RefSchema |
class |
SchemaImpl |
class |
TrueSchema |
| Modifier and Type | Field and Description |
|---|---|
protected Schema |
BaseSingleSchemaValidator.schema |
protected Schema[] |
BaseCombinatorsValidator.schemas |
| Modifier and Type | Method and Description |
|---|---|
default Schema |
SchemaParserInternal.parse(Boolean jsonSchema) |
default Schema |
SchemaParserInternal.parse(Boolean jsonSchema,
JsonPointer schemaPointer) |
default Schema |
SchemaParserInternal.parse(JsonObject jsonSchema) |
default Schema |
SchemaParserInternal.parse(JsonObject jsonSchema,
JsonPointer schemaPointer) |
default Schema |
SchemaParserInternal.parse(Object jsonSchema,
JsonPointer scope) |
Schema |
BaseSchemaParser.parse(Object jsonSchema,
JsonPointer scope,
MutableStateValidator parent) |
Schema |
SchemaParserInternal.parse(Object jsonSchema,
JsonPointer scope,
MutableStateValidator parent) |
default Schema |
SchemaParserInternal.parse(Object jsonSchema,
URI scope) |
default Schema |
SchemaParserInternal.parse(Object jsonSchema,
URI scope,
MutableStateValidator parent) |
default Schema |
SchemaParserInternal.parseFromString(String unparsedJson) |
default Schema |
SchemaParserInternal.parseFromString(String unparsedJson,
JsonPointer schemaPointer) |
Schema |
BaseSchemaParser.parseFromString(String unparsedJson,
JsonPointer scope,
MutableStateValidator parent) |
Schema |
SchemaParserInternal.parseFromString(String unparsedJson,
JsonPointer scope,
MutableStateValidator parent) |
default Schema |
SchemaParserInternal.parseFromString(String unparsedJson,
URI scope) |
default Schema |
SchemaParserInternal.parseFromString(String unparsedJson,
URI scope,
MutableStateValidator parent) |
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) |
| Modifier and Type | Method and Description |
|---|---|
SchemaRouter |
SchemaRouterImpl.addSchema(Schema schema) |
Future<Schema> |
SchemaRouterImpl.solveAllSchemaReferences(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
Schema |
SchemaBuilder.build(SchemaParser parser) |
| 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 © 2020 Eclipse. All rights reserved.