parseNullable
@tsed/cli-mcp
Usage
typescript
import { parseNullable } from "@tsed/cli-mcp/src/utils/json-schema-to-zod/parsers/parseNullable";See /packages/cli-mcp/src/utils/json-schema-to-zod/parsers/parseNullable.ts.
Overview
ts
const parseNullable: (schema: JsonSchemaObject & {
nullable: true;
}, refs: Refs) => string;Description
For compatibility with open api 3.0 nullable
nullable
ts
nullable: true;