Class CallableFunctionNull

Hierarchy

Constructors

Properties

$comment?: string
default?: any
deprecated?: boolean
description?: string
examples?: any[]
id: string = ...

A UUID generated for this parameter by the library.

name: string
readOnly?: boolean
title?: string
type: "null" = "null"
writeOnly?: boolean

Methods

  • Serializes the parameter into a JSON object.

    Returns {
        $comment?: string;
        default?: any;
        deprecated?: boolean;
        description?: string;
        examples?: any[];
        readOnly?: boolean;
        title?: string;
        type: "null";
        writeOnly?: boolean;
    }

    • Optional $comment?: string
    • Optional default?: any
    • Optional deprecated?: boolean
    • Optional description?: string
    • Optional examples?: any[]
    • Optional readOnly?: boolean
    • Optional title?: string
    • type: "null"
    • Optional writeOnly?: boolean
  • Returns {
        $comment?: string;
        default?: any;
        deprecated?: boolean;
        description?: string;
        examples?: any[];
        readOnly?: boolean;
        title?: string;
        writeOnly?: boolean;
    }

    • Optional $comment?: string
    • Optional default?: any
    • Optional deprecated?: boolean
    • Optional description?: string
    • Optional examples?: any[]
    • Optional readOnly?: boolean
    • Optional title?: string
    • Optional writeOnly?: boolean
  • Parameters

    • name: string
    • json: {
          $comment?: string;
          default?: any;
          deprecated?: boolean;
          description?: string;
          examples?: any[];
          readOnly?: boolean;
          title?: string;
          type: "null";
          writeOnly?: boolean;
      }
      • Optional $comment?: string
      • Optional default?: any
      • Optional deprecated?: boolean
      • Optional description?: string
      • Optional examples?: any[]
      • Optional readOnly?: boolean
      • Optional title?: string
      • type: "null"
      • Optional writeOnly?: boolean

    Returns CallableFunctionNull

  • Whether the given JsonSchema is a JsonSchemaNull.

    Note: This method does not check if the schema is valid, only if it has properties unique to null schemas.

    Parameters

    Returns json is {
        $comment?: string;
        default?: any;
        deprecated?: boolean;
        description?: string;
        examples?: any[];
        readOnly?: boolean;
        title?: string;
        type: "null";
        writeOnly?: boolean;
    }

Generated using TypeDoc