Modifier and Type | Method and Description |
---|---|
JsonPointer |
JsonPointer.append(int index)
Append the
index as reference token to JsonPointer |
JsonPointer |
JsonPointer.append(JsonPointer pointer)
Append all tokens of
pointer to this pointer Note: The base URI of this pointer will remain untouched |
JsonPointer |
JsonPointer.append(List<String> tokens)
Append an unescaped list of
tokens to JsonPointer Note: If you provide escaped paths the behaviour is undefined |
JsonPointer |
JsonPointer.append(String token)
Append an unescaped
token to this pointer Note: If you provide escaped path the behaviour is undefined |
JsonPointer |
JsonPointer.copy()
Copy a JsonPointer
|
static JsonPointer |
JsonPointer.create()
Build an empty JsonPointer
|
static JsonPointer |
JsonPointer.from(String pointer)
Build a JsonPointer from a json pointer string
|
static JsonPointer |
JsonPointer.fromURI(URI uri)
Build a JsonPointer from a URI.
|
JsonPointer |
JsonPointer.parent()
Remove last reference token of this pointer
|
Modifier and Type | Method and Description |
---|---|
JsonPointer |
JsonPointer.append(JsonPointer pointer)
Append all tokens of
pointer to this pointer Note: The base URI of this pointer will remain untouched |
boolean |
JsonPointer.isParent(JsonPointer child)
Return
true if this pointer is a parent pointer of child . |
Modifier and Type | Method and Description |
---|---|
static RouterBuilderException |
RouterBuilderException.cannotFindParameterProcessorGenerator(JsonPointer pointer,
JsonObject parameter) |
static RouterBuilderException |
RouterBuilderException.createBodyNotSupported(JsonPointer pointer) |
JsonObject |
OpenAPIHolder.getCached(JsonPointer pointer)
Get cached object using
pointer |
Modifier and Type | Field and Description |
---|---|
protected JsonPointer |
ValidationException.inputScope |
Modifier and Type | Method and Description |
---|---|
JsonPointer |
Schema.getScope() |
JsonPointer |
ValidationException.inputScope() |
JsonPointer |
ValidationException.scope()
Deprecated.
use
ValidationException.schema() and then Schema.getScope() instead |
Modifier and Type | Method and Description |
---|---|
SchemaRouter |
SchemaRouter.addSchema(Schema schema,
JsonPointer... aliasScopes)
Add a parsed schema to this router.
|
SchemaRouter |
SchemaRouter.addSchemaWithScope(Schema schema,
JsonPointer scope)
Add a parsed schema to this router.
|
Schema |
SchemaParser.parse(Boolean jsonSchema,
JsonPointer schemaPointer)
Builds a true of false schema
|
Schema |
SchemaParser.parse(JsonObject jsonSchema,
JsonPointer schemaPointer)
Build a schema from provided json.
|
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.
|
Future<Schema> |
SchemaRouter.resolveRef(JsonPointer pointer,
JsonPointer scope,
SchemaParser schemaParser)
Resolve $ref.
|
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 | Method and Description |
---|---|
static JsonPointer |
URIUtils.createJsonPointerFromURI(URI original)
This function converts eventual "#a" to valid json pointer "#/a"
|
JsonPointer |
RecursiveAnchorValidatorContextDecorator.getRecursiveAnchor() |
JsonPointer |
SchemaImpl.getScope() |
JsonPointer |
TrueSchema.getScope() |
JsonPointer |
FalseSchema.getScope() |
JsonPointer |
SchemaURNId.toPointer() |
Modifier and Type | Method and Description |
---|---|
protected Map.Entry<Optional<JsonPointer>,Optional<String>> |
BaseSchemaParser.resolveIdAndAlias(JsonObject schema,
URI scope) |
Constructor and Description |
---|
RecursiveRefSchema(JsonObject schema,
JsonPointer scope,
SchemaParser schemaParser,
MutableStateValidator parent) |
RefSchema(JsonObject schema,
JsonPointer scope,
SchemaParser schemaParser,
MutableStateValidator parent,
boolean executeSchemaValidators) |
SchemaImpl(JsonObject schema,
JsonPointer scope,
MutableStateValidator parent) |
Modifier and Type | Method and Description |
---|---|
T |
SchemaBuilder.id(JsonPointer id) |
static GenericSchemaBuilder |
Schemas.ref(JsonPointer pointer) |
Modifier and Type | Method and Description |
---|---|
protected Map.Entry<Optional<JsonPointer>,Optional<String>> |
Draft201909SchemaParser.resolveIdAndAlias(JsonObject schema,
URI scope) |
Modifier and Type | Method and Description |
---|---|
Validator |
MaximumValidatorFactory.createValidator(JsonObject schema,
JsonPointer scope,
SchemaParserInternal parser,
MutableStateValidator parent) |
Validator |
TypeValidatorFactory.createValidator(JsonObject schema,
JsonPointer scope,
SchemaParserInternal parser,
MutableStateValidator parent) |
Validator |
MinimumValidatorFactory.createValidator(JsonObject schema,
JsonPointer scope,
SchemaParserInternal parser,
MutableStateValidator parent) |
Validator |
NullableValidatorFactory.createValidator(JsonObject schema,
JsonPointer scope,
SchemaParserInternal parser,
MutableStateValidator parent) |
Modifier and Type | Method and Description |
---|---|
JsonPointer |
JsonPointer.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static JsonPointer |
JsonPointer.newInstance(JsonPointer arg) |
Constructor and Description |
---|
JsonPointer(JsonPointer delegate) |
Modifier and Type | Method and Description |
---|---|
SchemaRouter |
SchemaRouter.addSchema(Schema schema,
JsonPointer[] aliasScopes)
Add a parsed schema to this router.
|
Modifier and Type | Method and Description |
---|---|
JsonPointer |
JsonPointer.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static JsonPointer |
JsonPointer.newInstance(JsonPointer arg) |
Constructor and Description |
---|
JsonPointer(JsonPointer delegate) |
Modifier and Type | Method and Description |
---|---|
SchemaRouter |
SchemaRouter.addSchema(Schema schema,
JsonPointer[] aliasScopes)
Add a parsed schema to this router.
|
Modifier and Type | Method and Description |
---|---|
JsonPointer |
JsonPointer.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static JsonPointer |
JsonPointer.newInstance(JsonPointer arg) |
Constructor and Description |
---|
JsonPointer(JsonPointer delegate) |
Modifier and Type | Method and Description |
---|---|
SchemaRouter |
SchemaRouter.addSchema(Schema schema,
JsonPointer[] aliasScopes)
Add a parsed schema to this router.
|
Copyright © 2021 Eclipse. All rights reserved.