You are on page 1of 1

Error:

type: object
description: Main object for error structure
properties:
code:
type: string
description: HTTP Error code
example: '400'
error:
type: string
description: Error description
example: Campos faltantes
subError:
type: array
minItems: 0
items:
$ref: '#/components/schemas/subError'
subError:
type: object
description: Single object to generate Error's array, according with
Integration's Standard
properties:
field:
type: string
description: request field with error
example: "request.user.id"
message:
type: string
description: Error description
example: "Campo obligatorio faltante: PartyId"
rejectedValue:
type: string
description: Current value of field with error
example: "NULL"

You might also like