Class ValidationService

Constructors

Properties

combineProperties: any
config: any
getAllCombinations: any
getExcessPropertiesFor: any
models: any
selfIntersectionCombinations: any

combine all schemas once, ignoring order ie input: [[value1], [value2]] should be [[value1, value2]] not [[value1, value2],[value2, value1]] and input: [[value1, value2], [value3, value4], [value5, value6]] should be [ [value1, value3, value5], [value1, value3, value6], [value1, value4, value5], [value1, value4, value6], [value2, value3, value5], [value2, value3, value6], [value2, value4, value5], [value2, value4, value6], ]

Param: modelSchemass

toModelLike: any

Methods

  • Parameters

    Returns any

  • Parameters

    • value: any
    • type: "string" | "number" | "boolean" | "object"
    • isBodyParam: boolean

    Returns boolean

  • Parameters

    Returns undefined | any[]

  • Parameters

    Returns any

  • Parameters

    • _name: string
    • value: string

    Returns Buffer

  • Parameters

    • name: string
    • value: any
    • fieldErrors: FieldErrors
    • isBodyParam: boolean
    • Optional validators: DateValidator
    • Optional parent: string

    Returns undefined | Date

  • Parameters

    Returns undefined | Date

  • Parameters

    • name: string
    • value: unknown
    • fieldErrors: FieldErrors
    • Optional members: (null | string | number | boolean)[]
    • Optional parent: string

    Returns unknown

  • Parameters

    Returns undefined | number

  • Parameters

    Returns undefined | number

  • Parameters

    Returns any

  • Parameters

    • input: {
          fieldErrors: FieldErrors;
          isBodyParam: boolean;
          modelDefinition: TsoaRoute.ModelSchema;
          name: string;
          parent?: string;
          value: any;
      }

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns undefined | string

  • Parameters

    • name: string
    • value: any
    • fieldErrors: FieldErrors
    • Optional parent: string

    Returns undefined

  • Parameters

    Returns any

Generated using TypeDoc