Optionalparams: JSONSchemaGeneratorConstructorParamsEmit the final JSON Schema after processing. Must call process() first.
Process a schema to prepare it for JSON Schema generation. This must be called before emit().
Optional_params: ProcessParams
Legacy class-based interface for JSON Schema generation. This class wraps the new functional implementation to provide backward compatibility.
Deprecated
Use the
toJSONSchemafunction instead for new code.Example