Skip to content

AdminBadRequest ​

Type: response

Description ​

Bad request

TypeScript Definition ​

typescript
AdminBadRequest: {{
            headers: {
                [name: string]: unknown;
            };
            content: {
                "application/json": {
                    message?: string;
                    success?: boolean;
                    code?: string;
                    /** @description Validation details keyed by field; business guards can return strings, while serializer errors commonly return arrays. */
                    errors?: {
                        [key: string]: unknown;
                    };
                };
            };
        };
        /** @description Bad request */
}

OpenAPI Schema ​

json
{
  "description": "Bad request",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "errors": {
            "description": "Validation details keyed by field; business guards can return strings, while serializer errors commonly return arrays.",
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: