public class Draft7SchemaParser extends BaseSchemaParser
router, validatorFactories| Modifier | Constructor and Description |
|---|---|
protected |
Draft7SchemaParser(SchemaRouter router) |
| Modifier and Type | Method and Description |
|---|---|
static Draft7SchemaParser |
create(SchemaRouter router)
Instantiate a Draft7SchemaParser
|
protected List<ValidatorFactory> |
initValidatorFactories() |
static Schema |
parse(Vertx vertx,
JsonObject schema,
URI scope)
Parse a draft-7 schema
|
createSchema, getSchemaRouter, parse, parseFromString, resolveIdAndAlias, withStringFormatValidator, withValidatorFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparse, parse, parse, parse, parse, parse, parse, parseFromString, parseFromString, parseFromString, parseFromStringcreateDraft201909SchemaParser, createDraft7SchemaParser, createOpenAPI3SchemaParserprotected Draft7SchemaParser(SchemaRouter router)
protected List<ValidatorFactory> initValidatorFactories()
initValidatorFactories in class BaseSchemaParserpublic static Draft7SchemaParser 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.