1
0
mirror of synced 2026-01-07 00:05:48 -05:00

🎉 GitHub Source: Don't minimize output fields (#5898)

This commit is contained in:
Chris Wu
2021-09-19 18:34:10 -07:00
committed by GitHub
parent 833dce16f8
commit 775bb03065
9 changed files with 296 additions and 97 deletions

View File

@@ -62,11 +62,88 @@
"labels": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
"type": ["null", "object"],
"properties": {
"id": {
"type": ["null", "integer"]
},
"node_id": {
"type": ["null", "string"]
},
"url": {
"type": ["null", "string"]
},
"name": {
"type": ["null", "string"]
},
"description": {
"type": ["null", "string"]
},
"color": {
"type": ["null", "string"]
},
"default": {
"type": ["null", "boolean"]
}
}
}
},
"milestone_id": {
"type": ["null", "integer"]
"milestone": {
"type": ["null", "object"],
"properties": {
"url": {
"type": ["null", "string"]
},
"html_url": {
"type": ["null", "string"]
},
"labels_url": {
"type": ["null", "string"]
},
"id": {
"type": ["null", "integer"]
},
"node_id": {
"type": ["null", "string"]
},
"number": {
"type": ["null", "integer"]
},
"state": {
"type": ["null", "string"]
},
"title": {
"type": ["null", "string"]
},
"description": {
"type": ["null", "string"]
},
"creator": {
"$ref": "user.json"
},
"open_issues": {
"type": ["null", "integer"]
},
"closed_issues": {
"type": ["null", "integer"]
},
"created_at": {
"type": ["null", "string"],
"format": "date-time"
},
"updated_at": {
"type": ["null", "string"],
"format": "date-time"
},
"closed_at": {
"type": ["null", "string"],
"format": "date-time"
},
"due_on": {
"type": ["null", "string"],
"format": "date-time"
}
}
},
"active_lock_reason": {
"type": ["null", "string"]
@@ -90,25 +167,64 @@
"merge_commit_sha": {
"type": ["null", "string"]
},
"assignee_id": {
"type": ["null", "integer"]
"assignee": {
"$ref": "user.json"
},
"assignees": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
"$ref": "user.json"
}
},
"requested_reviewers": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
"$ref": "user.json"
}
},
"requested_teams": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
"type": ["null", "object"],
"properties": {
"id": {
"type": ["null", "integer"]
},
"node_id": {
"type": ["null", "string"]
},
"url": {
"type": ["null", "string"]
},
"html_url": {
"type": ["null", "string"]
},
"name": {
"type": ["null", "string"]
},
"slug": {
"type": ["null", "string"]
},
"description": {
"type": ["null", "string"]
},
"privacy": {
"type": ["null", "string"]
},
"permission": {
"type": ["null", "string"]
},
"members_url": {
"type": ["null", "string"]
},
"repositories_url": {
"type": ["null", "string"]
},
"parent": {
"type": ["null", "object"],
"properties": {}
}
}
}
},
"head": {