github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/schemas/errors.yaml (about)

     1  errors:
     2    type: object
     3    properties:
     4      message:
     5        type: string
     6      errors:
     7        type: array
     8        items:
     9          type: object
    10          properties:
    11            resource:
    12              type: string
    13            field:
    14              type: string
    15            message:
    16              type: string
    17    example:
    18      message: Validation Failed
    19      errors:
    20        - resource: Resource
    21          field: name
    22          message: "can't be blank"