@Deprecated public class Draft7SchemaParser extends BaseSchemaParser
router, validatorFactories
Modifier | Constructor and Description |
---|---|
protected |
Draft7SchemaParser(SchemaRouter router)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Draft7SchemaParser |
create(SchemaRouter router)
Deprecated.
Instantiate a Draft7SchemaParser
|
protected List<ValidatorFactory> |
initValidatorFactories()
Deprecated.
|
static Schema |
parse(Vertx vertx,
JsonObject schema,
URI scope)
Deprecated.
Parse a draft-7 schema
|
createSchema, getSchemaRouter, parse, parseFromString, resolveIdAndAlias, withStringFormatValidator, withValidatorFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse, parse, parse, parse, parse, parse, parse, parseFromString, parseFromString, parseFromString, parseFromString
createDraft201909SchemaParser, createDraft7SchemaParser, createOpenAPI3SchemaParser
protected Draft7SchemaParser(SchemaRouter router)
protected List<ValidatorFactory> initValidatorFactories()
initValidatorFactories
in class BaseSchemaParser
public 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 © 2024 Eclipse. All rights reserved.