Static
MODELGEN_Function for processing a JSON Schema input.
Optional
options: ProcessorOptionsPrivate
processProcess a draft-4 schema
to process as draft 4
Optional
options: ProcessorOptionsPrivate
processProcess a draft-6 schema
to process as draft-6
Optional
options: ProcessorOptionsPrivate
processProcess a draft-7 schema
to process as draft 7
Optional
options: ProcessorOptionsStatic
convertSimplifies a JSON Schema into a common models
to simplify to common model
Optional
options: ProcessorOptionsStatic
Private
ensureStatic
reflectEach schema must have a name, so when later interpreted, the model have the most accurate model name.
Reflect name from given schema and save it to x-modelgen-inferred-name
extension.
This reflects all the common keywords that are shared between draft-4, draft-7 and Swagger 2.0 Schema
to process
is a aggegator of previous used names
Optional
name: stringto infer
Optional
isRoot: booleanindicates if performed schema is a root schema
Generated using TypeDoc
Class for processing JSON Schema