loadJsonSchemaFromMemory
@the-codegen-project/cli • Docs
Home / loadJsonSchemaFromMemory
Function: loadJsonSchemaFromMemory()
function loadJsonSchemaFromMemory(document, documentPath?): JsonSchemaDocument
Load JSON Schema document from memory.
Parameters
| Parameter | Type |
|---|---|
document | string | JsonSchemaDocument |
documentPath? | string |
Returns
JsonSchemaDocument
Defined in
src/codegen/inputs/jsonschema/parser.ts:112