Skip to content

Function: parseClassSchemas() ​

parseClassSchemas(classContents): readonly SchemaDefinition[]

Defined in: cli/redcap-openapi/src/core/parsers/schemas.ts:124

Parse all class schemas from a map of class file contents

Parameters ​

classContents ​

ReadonlyMap<string, string>

Map of class name to file content

Returns ​

readonly SchemaDefinition[]

Array of schema definitions