Skip to content

Commit 8bb3b6d

Browse files
authored
feat: add issue type to webhooks, use reusable components instead of inline declerations, description updates (#115)
1 parent 19fb917 commit 8bb3b6d

File tree

21 files changed

+4768
-7421
lines changed

21 files changed

+4768
-7421
lines changed

cache/api.github.com.json

Lines changed: 308 additions & 83 deletions
Large diffs are not rendered by default.

cache/ghec.json

Lines changed: 2584 additions & 4234 deletions
Large diffs are not rendered by default.

cache/ghes-3.12.json

Lines changed: 75 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20918,7 +20918,7 @@
2091820918
},
2091920919
"dependabot_secrets": {
2092020920
"type": "string",
20921-
"description": "The leve of permission to grant the access token to manage Dependabot secrets.",
20921+
"description": "The level of permission to grant the access token to manage Dependabot secrets.",
2092220922
"enum": ["read", "write"]
2092320923
},
2092420924
"deployments": {
@@ -23233,12 +23233,12 @@
2323323233
"type": "object",
2323423234
"properties": {
2323523235
"id": {
23236-
"description": "The id of the runner.",
23236+
"description": "The ID of the runner.",
2323723237
"type": "integer",
2323823238
"examples": [5]
2323923239
},
2324023240
"runner_group_id": {
23241-
"description": "The id of the runner group.",
23241+
"description": "The ID of the runner group.",
2324223242
"type": "integer",
2324323243
"examples": [1]
2324423244
},
@@ -24647,6 +24647,59 @@
2464724647
"updated_at"
2464824648
]
2464924649
},
24650+
"issue-type": {
24651+
"title": "Issue Type",
24652+
"description": "The type of issue.",
24653+
"type": ["object", "null"],
24654+
"properties": {
24655+
"id": {
24656+
"type": "integer",
24657+
"description": "The unique identifier of the issue type."
24658+
},
24659+
"node_id": {
24660+
"type": "string",
24661+
"description": "The node identifier of the issue type."
24662+
},
24663+
"name": {
24664+
"type": "string",
24665+
"description": "The name of the issue type."
24666+
},
24667+
"description": {
24668+
"type": ["string", "null"],
24669+
"description": "The description of the issue type."
24670+
},
24671+
"color": {
24672+
"type": ["string", "null"],
24673+
"description": "The color of the issue type.",
24674+
"enum": [
24675+
"gray",
24676+
"blue",
24677+
"green",
24678+
"yellow",
24679+
"orange",
24680+
"red",
24681+
"pink",
24682+
"purple",
24683+
null
24684+
]
24685+
},
24686+
"created_at": {
24687+
"type": "string",
24688+
"description": "The time the issue type created.",
24689+
"format": "date-time"
24690+
},
24691+
"updated_at": {
24692+
"type": "string",
24693+
"description": "The time the issue type last updated.",
24694+
"format": "date-time"
24695+
},
24696+
"is_enabled": {
24697+
"type": "boolean",
24698+
"description": "The enabled state of the issue type."
24699+
}
24700+
},
24701+
"required": ["id", "node_id", "name", "description"]
24702+
},
2465024703
"author-association": {
2465124704
"title": "author_association",
2465224705
"type": "string",
@@ -24821,6 +24874,7 @@
2482124874
"body_html": { "type": "string" },
2482224875
"body_text": { "type": "string" },
2482324876
"timeline_url": { "type": "string", "format": "uri" },
24877+
"type": { "$ref": "#/components/schemas/issue-type" },
2482424878
"repository": { "$ref": "#/components/schemas/repository" },
2482524879
"performed_via_github_app": {
2482624880
"anyOf": [
@@ -40165,6 +40219,7 @@
4016540219
"body_html": { "type": "string" },
4016640220
"body_text": { "type": "string" },
4016740221
"timeline_url": { "type": "string", "format": "uri" },
40222+
"type": { "$ref": "#/components/schemas/issue-type" },
4016840223
"performed_via_github_app": {
4016940224
"anyOf": [
4017040225
{ "type": "null" },
@@ -43650,6 +43705,7 @@
4365043705
"state_reason": { "type": ["string", "null"] },
4365143706
"timeline_url": { "type": "string", "format": "uri" },
4365243707
"title": { "description": "Title of the issue", "type": "string" },
43708+
"type": { "$ref": "#/components/schemas/issue-type" },
4365343709
"updated_at": { "type": "string", "format": "date-time" },
4365443710
"url": {
4365543711
"description": "URL for the issue",
@@ -44323,6 +44379,7 @@
4432344379
"state_reason": { "type": ["string", "null"] },
4432444380
"timeline_url": { "type": "string", "format": "uri" },
4432544381
"title": { "description": "Title of the issue", "type": "string" },
44382+
"type": { "$ref": "#/components/schemas/issue-type" },
4432644383
"updated_at": { "type": "string", "format": "date-time" },
4432744384
"url": {
4432844385
"description": "URL for the issue",
@@ -56602,6 +56659,7 @@
5660256659
"description": "Title of the issue",
5660356660
"type": "string"
5660456661
},
56662+
"type": { "$ref": "#/components/schemas/issue-type" },
5660556663
"updated_at": { "type": "string", "format": "date-time" },
5660656664
"url": {
5660756665
"description": "URL for the issue",
@@ -57540,6 +57598,7 @@
5754057598
"description": "Title of the issue",
5754157599
"type": "string"
5754257600
},
57601+
"type": { "$ref": "#/components/schemas/issue-type" },
5754357602
"updated_at": { "type": "string", "format": "date-time" },
5754457603
"url": {
5754557604
"description": "URL for the issue",
@@ -58482,6 +58541,7 @@
5848258541
"description": "Title of the issue",
5848358542
"type": "string"
5848458543
},
58544+
"type": { "$ref": "#/components/schemas/issue-type" },
5848558545
"updated_at": { "type": "string", "format": "date-time" },
5848658546
"url": {
5848758547
"description": "URL for the issue",
@@ -59456,6 +59516,7 @@
5945659516
"description": "Title of the issue",
5945759517
"type": "string"
5945859518
},
59519+
"type": { "$ref": "#/components/schemas/issue-type" },
5945959520
"updated_at": { "type": "string", "format": "date-time" },
5946059521
"url": {
5946159522
"description": "URL for the issue",
@@ -60250,6 +60311,7 @@
6025060311
"description": "Title of the issue",
6025160312
"type": "string"
6025260313
},
60314+
"type": { "$ref": "#/components/schemas/issue-type" },
6025360315
"updated_at": { "type": "string", "format": "date-time" },
6025460316
"url": {
6025560317
"description": "URL for the issue",
@@ -60969,6 +61031,7 @@
6096961031
"description": "Title of the issue",
6097061032
"type": "string"
6097161033
},
61034+
"type": { "$ref": "#/components/schemas/issue-type" },
6097261035
"updated_at": { "type": "string", "format": "date-time" },
6097361036
"url": {
6097461037
"description": "URL for the issue",
@@ -61669,6 +61732,7 @@
6166961732
},
6167061733
"state_reason": { "type": ["string", "null"] },
6167161734
"timeline_url": { "type": "string", "format": "uri" },
61735+
"type": { "$ref": "#/components/schemas/issue-type" },
6167261736
"title": {
6167361737
"description": "Title of the issue",
6167461738
"type": "string"
@@ -62369,6 +62433,7 @@
6236962433
},
6237062434
"state_reason": { "type": ["string", "null"] },
6237162435
"timeline_url": { "type": "string", "format": "uri" },
62436+
"type": { "$ref": "#/components/schemas/issue-type" },
6237262437
"title": {
6237362438
"description": "Title of the issue",
6237462439
"type": "string"
@@ -63094,6 +63159,7 @@
6309463159
},
6309563160
"state_reason": { "type": ["string", "null"] },
6309663161
"timeline_url": { "type": "string", "format": "uri" },
63162+
"type": { "$ref": "#/components/schemas/issue-type" },
6309763163
"title": {
6309863164
"description": "Title of the issue",
6309963165
"type": "string"
@@ -63795,6 +63861,7 @@
6379563861
"description": "Title of the issue",
6379663862
"type": "string"
6379763863
},
63864+
"type": { "$ref": "#/components/schemas/issue-type" },
6379863865
"updated_at": { "type": "string", "format": "date-time" },
6379963866
"url": {
6380063867
"description": "URL for the issue",
@@ -65601,6 +65668,7 @@
6560165668
"description": "Title of the issue",
6560265669
"type": "string"
6560365670
},
65671+
"type": { "$ref": "#/components/schemas/issue-type" },
6560465672
"updated_at": { "type": "string", "format": "date-time" },
6560565673
"url": {
6560665674
"description": "URL for the issue",
@@ -66381,7 +66449,8 @@
6638166449
"url": { "type": "string", "format": "uri" },
6638266450
"user_view_type": { "type": "string" }
6638366451
}
66384-
}
66452+
},
66453+
"type": { "$ref": "#/components/schemas/issue-type" }
6638566454
}
6638666455
},
6638766456
"organization": {
@@ -67069,6 +67138,7 @@
6706967138
"description": "Title of the issue",
6707067139
"type": "string"
6707167140
},
67141+
"type": { "$ref": "#/components/schemas/issue-type" },
6707267142
"updated_at": { "type": "string", "format": "date-time" },
6707367143
"url": {
6707467144
"description": "URL for the issue",
@@ -68231,6 +68301,7 @@
6823168301
"description": "Title of the issue",
6823268302
"type": "string"
6823368303
},
68304+
"type": { "$ref": "#/components/schemas/issue-type" },
6823468305
"updated_at": { "type": "string", "format": "date-time" },
6823568306
"url": {
6823668307
"description": "URL for the issue",

0 commit comments

Comments
 (0)