Skip to main content

ValidationErrorResponse

The response emitted by Django Ninja for invalid request data.

detail object[]required
  • Array [
  • typeType (string)required
    loc object[]required
  • Array [
  • anyOf
    string
  • ]
  • msgMsg (string)required
    ctx object
    anyOf
    object
  • ]
  • ValidationErrorResponse
    {
    "detail": [
    {
    "type": "string",
    "loc": [
    "string",
    0
    ],
    "msg": "string",
    "ctx": {}
    }
    ]
    }