public class OpenAPI3SchemaParser extends BaseSchemaParser
router, validatorFactories
Modifier | Constructor and Description |
---|---|
protected |
OpenAPI3SchemaParser(SchemaRouter router) |
Modifier and Type | Method and Description |
---|---|
static OpenAPI3SchemaParser |
create(SchemaRouter router)
Instantiate an OpenAPI3SchemaParser
|
protected List<ValidatorFactory> |
initValidatorFactories() |
static Schema |
parse(Vertx vertx,
JsonObject schema,
URI scope)
Parse an OpenAPI 3 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 OpenAPI3SchemaParser(SchemaRouter router)
protected List<ValidatorFactory> initValidatorFactories()
initValidatorFactories
in class BaseSchemaParser
public static OpenAPI3SchemaParser 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.