Skip to content

Commit

Permalink
fix(API): Repo Sync Event errors field type #STRINGS-1074
Browse files Browse the repository at this point in the history
  • Loading branch information
jablan committed Dec 20, 2024
1 parent 2863eeb commit a786e8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
13 changes: 3 additions & 10 deletions doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -4368,14 +4368,7 @@
"description": "List of error messages, in case of failure",
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
"type": "string"
}
}
},
Expand All @@ -4385,8 +4378,8 @@
"status": "failure",
"auto_import": true,
"errors": [
"Error message",
"Error message"
"Error message 1",
"Error message 2"
]
}
}
Expand Down
8 changes: 3 additions & 5 deletions schemas/repo_sync_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit a786e8d

Please sign in to comment.