Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed May 17, 2023
1 parent 8ebd0a6 commit ea10d69
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 8 deletions.
16 changes: 9 additions & 7 deletions samples/sample_tap_gitlab/schemas/epic_issues.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
"type": "object"
},
"closed_at": {
"type": "null"
"type": ["string", "null"],
"format": "date-time"
},
"confidential": {
"type": "boolean"
Expand All @@ -120,7 +121,8 @@
"type": "integer"
},
"due_date": {
"type": "null"
"type": ["string", "null"],
"format": "date-time"
},
"epic_issue_id": {
"type": "integer"
Expand All @@ -133,8 +135,7 @@
},
"labels": {
"items": {
"properties": {},
"type": "object"
"type": "string"
},
"type": "array"
},
Expand All @@ -148,7 +149,8 @@
"type": "string"
},
"due_date": {
"type": "null"
"type": ["string", "null"],
"format": "date-time"
},
"id": {
"type": "integer"
Expand All @@ -160,7 +162,8 @@
"type": "integer"
},
"start_date": {
"type": "null"
"type": ["string", "null"],
"format": "date-time"
},
"state": {
"type": "string"
Expand All @@ -179,7 +182,6 @@
"due_date",
"id",
"iid",
"project_id",
"start_date",
"state",
"title",
Expand Down
28 changes: 27 additions & 1 deletion samples/sample_tap_gitlab/schemas/issues.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,33 @@
"assignees": {
"type": "array",
"items": {
"type": "integer"
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"username": {
"type": "string"
},
"state": {
"type": "string"
},
"avatar_url": {
"type": [
"null",
"string"
]
},
"web_url": {
"type": [
"null",
"string"
]
}
}
}
},
"closed_by_id": {
Expand Down

0 comments on commit ea10d69

Please sign in to comment.