Skip to content

Commit

Permalink
fix(schemas): Fix gitlab_sync type mismatch (#373)
Browse files Browse the repository at this point in the history
* fix(schemas): Fix gitlab_sync type mismatch

Signed-off-by: Matheus Horstmann <>

* Update compiled.json

---------

Signed-off-by: Matheus Horstmann <>
Co-authored-by: Matheus Horstmann <>
Co-authored-by: Sönke Behrendt <[email protected]>
  • Loading branch information
horstmannmat and theSoenke authored Jul 31, 2023
1 parent 35397d6 commit 1cb1f65
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
16 changes: 13 additions & 3 deletions doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,15 @@
"errors": {
"type": "array",
"items": {
"type": "string"
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
},
"date": {
Expand All @@ -528,8 +536,10 @@
"status": "success",
"action": "import",
"errors": [
"error message one",
"error message two"
{
"error": "error type",
"message": "can't be blank"
}
],
"date": "2015-01-28T12:55:14.000+00:00",
"details": {
Expand Down
11 changes: 8 additions & 3 deletions schemas/gitlab_sync_history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ gitlab_sync_history:
errors:
type: array
items:
type: string
type: object
properties:
error:
type: string
message:
type: string
date:
type: string
format: date-time
Expand All @@ -22,8 +27,8 @@ gitlab_sync_history:
status: success
action: import
errors:
- error message one
- error message two
- error: "error type"
message: "can't be blank"
date: '2015-01-28T12:55:14.000+00:00'
details:
auto_import: false

0 comments on commit 1cb1f65

Please sign in to comment.