Share feedback
Answers are generated based on the documentation.

Experimental

Schema

ValidationViolationsErrorDetail

Type: object

The validation failures returned for a request.
@type · required

Type: string

All schema constraints and annotations
{
  "const": "type.googleapis.com/buf.validate.Violations",
  "type": "string"
}
violations

Type: array

violations is a repeated field that contains all the Violation messages corresponding to the violations detected.
Array item

Schema: ValidationViolation

All schema constraints and annotations
{
  "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.",
  "items": {
    "$ref": "#/components/schemas/ValidationViolation"
  },
  "type": "array"
}
All schema constraints and annotations
{
  "description": "The validation failures returned for a request.",
  "properties": {
    "@type": {
      "const": "type.googleapis.com/buf.validate.Violations",
      "type": "string"
    },
    "violations": {
      "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.",
      "items": {
        "$ref": "#/components/schemas/ValidationViolation"
      },
      "type": "array"
    }
  },
  "required": [
    "@type"
  ],
  "title": "ViolationsErrorDetail",
  "type": "object"
}