Skip to content

[F] getJsonSchemaTypes

function getJsonSchemaTypes(program): (Namespace | JsonSchemaDeclarationType)[];

Returns types that are annotated with @jsonSchema or contained within a namespace that is annoted with @jsonSchema.

ParameterTypeDescription
programProgramTypeSpec program

(Namespace | JsonSchemaDeclarationType)[]