-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Fix missing PK in GitLab external tests (#944)
Fix sample GitLab's epic_issues schema
- Loading branch information
1 parent
f0aed5b
commit ba3f043
Showing
1 changed file
with
274 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,286 @@ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"group_id": { | ||
"type": "integer" | ||
"properties": { | ||
"_links": { | ||
"properties": { | ||
"award_emoji": { | ||
"type": "string" | ||
}, | ||
"epic_iid": { | ||
"type": "integer" | ||
"notes": { | ||
"type": "string" | ||
}, | ||
"epic_issue_id": { | ||
"type": "integer" | ||
"project": { | ||
"type": "string" | ||
}, | ||
"issue_id": { | ||
"type": "integer" | ||
"self": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"award_emoji", | ||
"notes", | ||
"project", | ||
"self" | ||
], | ||
"type": "object" | ||
}, | ||
"assignee": { | ||
"properties": { | ||
"avatar_url": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"issue_iid": { | ||
"state": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"web_url": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"avatar_url", | ||
"id", | ||
"name", | ||
"state", | ||
"username", | ||
"web_url" | ||
], | ||
"type": "object" | ||
}, | ||
"assignees": { | ||
"items": { | ||
"properties": { | ||
"avatar_url": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"state": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"web_url": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"avatar_url", | ||
"id", | ||
"name", | ||
"state", | ||
"username", | ||
"web_url" | ||
], | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
}, | ||
"author": { | ||
"properties": { | ||
"avatar_url": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"state": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"web_url": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"avatar_url", | ||
"id", | ||
"name", | ||
"state", | ||
"username", | ||
"web_url" | ||
], | ||
"type": "object" | ||
}, | ||
"closed_at": { | ||
"type": "null" | ||
}, | ||
"confidential": { | ||
"type": "boolean" | ||
}, | ||
"created_at": { | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"discussion_locked": { | ||
"type": "null" | ||
}, | ||
"downvotes": { | ||
"type": "integer" | ||
}, | ||
"due_date": { | ||
"type": "null" | ||
}, | ||
"epic_issue_id": { | ||
"type": "integer" | ||
}, | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"iid": { | ||
"type": "integer" | ||
}, | ||
"labels": { | ||
"items": { | ||
"properties": {}, | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
}, | ||
"milestone": { | ||
"properties": { | ||
"created_at": { | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"due_date": { | ||
"type": "null" | ||
}, | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"iid": { | ||
"type": "integer" | ||
}, | ||
"project_id": { | ||
"type": ["null", "integer"] | ||
"type": "integer" | ||
}, | ||
"start_date": { | ||
"type": "null" | ||
}, | ||
"state": { | ||
"type": "string" | ||
}, | ||
"title": { | ||
"type": "string" | ||
}, | ||
"updated_at": { | ||
"format": "date-time", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"created_at", | ||
"description", | ||
"due_date", | ||
"id", | ||
"iid", | ||
"project_id", | ||
"start_date", | ||
"state", | ||
"title", | ||
"updated_at" | ||
], | ||
"type": "object" | ||
}, | ||
"project_id": { | ||
"type": "integer" | ||
}, | ||
"state": { | ||
"type": "string" | ||
}, | ||
"time_stats": { | ||
"properties": { | ||
"human_time_estimate": { | ||
"type": "null" | ||
}, | ||
"human_total_time_spent": { | ||
"type": "null" | ||
}, | ||
"time_estimate": { | ||
"type": "integer" | ||
}, | ||
"relative_position": { | ||
"type": ["null", "integer"] | ||
"total_time_spent": { | ||
"type": "integer" | ||
} | ||
}, | ||
"required": [ | ||
"human_time_estimate", | ||
"human_total_time_spent", | ||
"time_estimate", | ||
"total_time_spent" | ||
], | ||
"type": "object" | ||
}, | ||
"title": { | ||
"type": "string" | ||
}, | ||
"updated_at": { | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"upvotes": { | ||
"type": "integer" | ||
}, | ||
"user_notes_count": { | ||
"type": "integer" | ||
}, | ||
"web_url": { | ||
"type": "string" | ||
}, | ||
"weight": { | ||
"type": "null" | ||
} | ||
}, | ||
"required": [ | ||
"_links", | ||
"assignee", | ||
"assignees", | ||
"author", | ||
"closed_at", | ||
"confidential", | ||
"created_at", | ||
"description", | ||
"discussion_locked", | ||
"downvotes", | ||
"due_date", | ||
"epic_issue_id", | ||
"id", | ||
"iid", | ||
"labels", | ||
"milestone", | ||
"project_id", | ||
"state", | ||
"time_stats", | ||
"title", | ||
"updated_at", | ||
"upvotes", | ||
"user_notes_count", | ||
"web_url", | ||
"weight" | ||
], | ||
"type": "object" | ||
} |