Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.41 KB

InlineResponse4001ValidationErrors.md

File metadata and controls

39 lines (27 loc) · 1.41 KB

InlineResponse4001ValidationErrors

A Zod issue. More fields can be present depending on the issue type.

Properties

Name Type Description Notes
code CodeEnum The ZodIssueCode describing the issue.
message String A message describing the error in a human readable way.
path List<String> An array describing the position of the faulty property. The first segment will always be either &quot;body&quot;, &quot;pathParameters&quot; or &quot;queryParameters&quot; indicating on which part of your request the error occurred.

Enum: CodeEnum

Name Value
INVALID_TYPE "invalid_type"
INVALID_LITERAL "invalid_literal"
CUSTOM "custom"
INVALID_UNION "invalid_union"
INVALID_UNION_DISCRIMINATOR "invalid_union_discriminator"
INVALID_ENUM_VALUE "invalid_enum_value"
UNRECOGNIZED_KEYS "unrecognized_keys"
INVALID_ARGUMENTS "invalid_arguments"
INVALID_RETURN_TYPE "invalid_return_type"
INVALID_DATE "invalid_date"
INVALID_STRING "invalid_string"
TOO_SMALL "too_small"
TOO_BIG "too_big"
INVALID_INTERSECTION_TYPES "invalid_intersection_types"
NOT_MULTIPLE_OF "not_multiple_of"
NOT_FINITE "not_finite"