Skip to content

Commit a786e8d

Browse files
committed
fix(API): Repo Sync Event errors field type #STRINGS-1074
1 parent 2863eeb commit a786e8d

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

doc/compiled.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4368,14 +4368,7 @@
43684368
"description": "List of error messages, in case of failure",
43694369
"type": "array",
43704370
"items": {
4371-
"anyOf": [
4372-
{
4373-
"type": "string"
4374-
},
4375-
{
4376-
"type": "object"
4377-
}
4378-
]
4371+
"type": "string"
43794372
}
43804373
}
43814374
},
@@ -4385,8 +4378,8 @@
43854378
"status": "failure",
43864379
"auto_import": true,
43874380
"errors": [
4388-
"Error message",
4389-
"Error message"
4381+
"Error message 1",
4382+
"Error message 2"
43904383
]
43914384
}
43924385
}

schemas/repo_sync_event.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ repo_sync_event:
2424
description: List of error messages, in case of failure
2525
type: array
2626
items:
27-
anyOf:
28-
- type: string
29-
- type: object
27+
type: string
3028
example:
3129
type: import
3230
created_at: '2015-01-28T09:52:53Z'
3331
status: failure
3432
auto_import: true
3533
errors:
36-
- "Error message"
37-
- "Error message"
34+
- "Error message 1"
35+
- "Error message 2"

0 commit comments

Comments
 (0)