Visit every nested schemas.

Visit every nested schemas of the target, and apply the props.closure function.

Here is the list of occurring nested visitings:

  • Parameters

    • props: {
          $defs?: Record<string, IGeminiSchema>;
          accessor?: string;
          closure: (schema: IGeminiSchema, accessor: string) => void;
          refAccessor?: string;
          schema: IGeminiSchema;
      }

      Properties for visiting

    Returns void