diff --git a/doc/compiled.json b/doc/compiled.json index 932ead6c5..730c9c44e 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -151,6 +151,9 @@ "name": "Repo Syncs", "description": "The Repo Syncs API allows you to synchronize your Phrase projects with your code repositories.\nYou can import translations from your repository to Phrase and export translations from Phrase to your repository.\n" }, + { + "name": "Repo Sync Events" + }, { "name": "Reports" }, @@ -4368,14 +4371,7 @@ "description": "List of error messages, in case of failure", "type": "array", "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object" - } - ] + "type": "string" } } }, @@ -4385,8 +4381,8 @@ "status": "failure", "auto_import": true, "errors": [ - "Error message", - "Error message" + "Error message 1", + "Error message 2" ] } } diff --git a/main.yaml b/main.yaml index 5f6ccc5f3..d8277cf14 100644 --- a/main.yaml +++ b/main.yaml @@ -199,6 +199,7 @@ tags: description: | The Repo Syncs API allows you to synchronize your Phrase projects with your code repositories. You can import translations from your repository to Phrase and export translations from Phrase to your repository. + - name: Repo Sync Events - name: Reports - name: Search - name: Screenshot Markers diff --git a/schemas/repo_sync_event.yaml b/schemas/repo_sync_event.yaml index e50a124d0..6dd82ce00 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"