generateTypes
Function: generateTypes()
generateTypes(
schemas,names,options?):Promise<string>
Defined in: sdk/src/generate/types.ts:48
Generate types.ts: one exported interface or type per schema
Parameters
schemas
Record<string, JSONSchema7>
the manifest schemas
names
Map<string, string>
ref to TypeScript name
options?
Partial<Options> = {}
json-schema-to-typescript options passthrough
Returns
Promise<string>
the file content