visit( props: { $defs?: Record<string, ILlmSchema>; accessor?: string; closure: (schema: ILlmSchema, accessor: string) => void; refAccessor?: string; schema: ILlmSchema; },): void Parameters
- props: {
$defs?: Record<string, ILlmSchema>;
accessor?: string;
closure: (schema: ILlmSchema, accessor: string) => void;
refAccessor?: string;
schema: ILlmSchema;
}
Returns void
Visit every nested schemas.
Visit every nested schemas of the target, and apply the
props.closurefunction.Here is the list of occurring nested visitings: