diff --git a/notifications/notifications.yaml b/notifications/notifications.yaml index 4440281..86b289f 100644 --- a/notifications/notifications.yaml +++ b/notifications/notifications.yaml @@ -316,12 +316,21 @@ components: - $ref: '#/components/schemas/ConnectionData' - type: object properties: - error: + errors: type: array items: type: string description: Array of error messages describing the connection error. example: ["Authentication failed", "Token refresh error"] + error: + type: array + items: + type: string + description: >- + Deprecated. Use `errors` instead. Array of error messages describing + the connection error. Kept for backward compatibility. + deprecated: true + example: ["Authentication failed", "Token refresh error"] # Destination webhook disabled event data DestinationWebhookDisabledData: