diff --git a/doc/compiled.json b/doc/compiled.json index 932ead6c..7764bd3f 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -4368,14 +4368,7 @@ "description": "List of error messages, in case of failure", "type": "array", "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object" - } - ] + "type": "string" } } }, @@ -4385,8 +4378,8 @@ "status": "failure", "auto_import": true, "errors": [ - "Error message", - "Error message" + "Error message 1", + "Error message 2" ] } } diff --git a/schemas/repo_sync_event.yaml b/schemas/repo_sync_event.yaml index e50a124d..6dd82ce0 100644 --- a/schemas/repo_sync_event.yaml +++ b/schemas/repo_sync_event.yaml @@ -24,14 +24,12 @@ repo_sync_event: description: List of error messages, in case of failure type: array items: - anyOf: - - type: string - - type: object + type: string example: type: import created_at: '2015-01-28T09:52:53Z' status: failure auto_import: true errors: - - "Error message" - - "Error message" + - "Error message 1" + - "Error message 2"