public class Draft201909SchemaParser extends BaseSchemaParser
router, validatorFactories| Modifier | Constructor and Description |
|---|---|
protected |
Draft201909SchemaParser(SchemaRouter router) |
| Modifier and Type | Method and Description |
|---|---|
static Draft201909SchemaParser |
create(SchemaRouter router)
Instantiate a Draft201909SchemaParser
|
protected SchemaImpl |
createSchema(JsonObject schema,
JsonPointer scope,
MutableStateValidator parent) |
Draft201909SchemaParser |
ignoreFormatKeyword()
Because in draft2019-09
format keyword is no longer an assertion,
you may turn the validation of the keyword off using this method |
protected List<ValidatorFactory> |
initValidatorFactories() |
static Schema |
parse(Vertx vertx,
JsonObject schema,
URI scope)
Parse a draft2019-09 schema
|
protected Map.Entry<Optional<JsonPointer>,Optional<String>> |
resolveIdAndAlias(JsonObject schema,
URI scope) |
getSchemaRouter, parse, parseFromString, withStringFormatValidator, withValidatorFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparse, parse, parse, parse, parse, parse, parse, parseFromString, parseFromString, parseFromString, parseFromStringcreateDraft201909SchemaParser, createDraft7SchemaParser, createOpenAPI3SchemaParserprotected Draft201909SchemaParser(SchemaRouter router)
protected List<ValidatorFactory> initValidatorFactories()
initValidatorFactories in class BaseSchemaParserprotected Map.Entry<Optional<JsonPointer>,Optional<String>> resolveIdAndAlias(JsonObject schema, URI scope)
resolveIdAndAlias in class BaseSchemaParserprotected SchemaImpl createSchema(JsonObject schema, JsonPointer scope, MutableStateValidator parent)
createSchema in class BaseSchemaParserpublic Draft201909SchemaParser ignoreFormatKeyword()
format keyword is no longer an assertion,
you may turn the validation of the keyword off using this methodpublic static Draft201909SchemaParser create(SchemaRouter router)
router - router to associate to read $refpublic static Schema parse(Vertx vertx, JsonObject schema, URI scope)
vertx - this vertx instanceschema - parsed json schemascope - scope of json schemaSchemaException - if schema is invalidCopyright © 2022 Eclipse. All rights reserved.