Skip to content

parseAnyOf

@tsed/cli-mcp

Usage

typescript
import { parseAnyOf } from "@tsed/cli-mcp/src/utils/json-schema-to-zod/parsers/parseAnyOf";

See /packages/cli-mcp/src/utils/json-schema-to-zod/parsers/parseAnyOf.ts.

Overview

ts
const parseAnyOf: (schema: JsonSchemaObject & {
    anyOf: JsonSchema[];
}, refs: Refs) => string;

anyOf

ts
anyOf: JsonSchema[];

Released under the MIT License.