diff --git a/notifications/generated/notifications.json b/notifications/generated/notifications.json index 73b63fb..b2a7aa9 100644 --- a/notifications/generated/notifications.json +++ b/notifications/generated/notifications.json @@ -904,16 +904,10 @@ "rec-2" ] }, - "errors": { - "type": "array", - "description": "Error messages for records that failed during the asynchronous write operation.", - "items": { - "type": "string" - }, - "example": [ - "field validation failed", - "duplicate record" - ] + "error": { + "type": "string", + "description": "The error that occurred during the asynchronous write operation. When multiple records fail, their error messages are joined into a single string.", + "example": "field validation failed; duplicate record" } } } @@ -2634,16 +2628,10 @@ "rec-2" ] }, - "errors": { - "type": "array", - "description": "Error messages for records that failed during the asynchronous write operation.", - "items": { - "type": "string" - }, - "example": [ - "field validation failed", - "duplicate record" - ] + "error": { + "type": "string", + "description": "The error that occurred during the asynchronous write operation. When multiple records fail, their error messages are joined into a single string.", + "example": "field validation failed; duplicate record" } } } diff --git a/notifications/notifications.yaml b/notifications/notifications.yaml index 8e5517c..d466905 100644 --- a/notifications/notifications.yaml +++ b/notifications/notifications.yaml @@ -263,12 +263,12 @@ components: items: type: string example: ["rec-1", "rec-2"] - errors: - type: array - description: Error messages for records that failed during the asynchronous write operation. - items: - type: string - example: ["field validation failed", "duplicate record"] + error: + type: string + description: >- + The error that occurred during the asynchronous write operation. When multiple + records fail, their error messages are joined into a single string. + example: "field validation failed; duplicate record" # Subscribe create error event data SubscribeCreateErrorData: