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 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 aggregator of previous used names
is a set of schema already seen and named
Optional name: stringto infer
Optional isRoot: booleanindicates if performed schema is a root schema
Class for processing JSON Schema