Skip to content

Commit c749a0f

Browse files
Update OpenAPI Descriptions
1 parent 09a1cbc commit c749a0f

File tree

7 files changed

+1142
-0
lines changed

7 files changed

+1142
-0
lines changed

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 1022 additions & 0 deletions
Large diffs are not rendered by default.

lib/rest/static/dereferenced/ghes-3.1.deref.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97215,6 +97215,11 @@
9721597215
"type": "boolean",
9721697216
"description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
9721797217
"default": false
97218+
},
97219+
"use_squash_pr_title_as_default": {
97220+
"type": "boolean",
97221+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
97222+
"default": false
9721897223
}
9721997224
},
9722097225
"required": [
@@ -113938,6 +113943,14 @@
113938113943
"default": "push"
113939113944
}
113940113945
}
113946+
},
113947+
"examples": {
113948+
"default": {
113949+
"summary": "Adding a team to an organization repository with the write role",
113950+
"value": {
113951+
"permission": "push"
113952+
}
113953+
}
113941113954
}
113942113955
}
113943113956
}
@@ -127116,6 +127129,11 @@
127116127129
"description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
127117127130
"default": false
127118127131
},
127132+
"use_squash_pr_title_as_default": {
127133+
"type": "boolean",
127134+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
127135+
"default": false
127136+
},
127119127137
"archived": {
127120127138
"type": "boolean",
127121127139
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",

lib/rest/static/dereferenced/ghes-3.2.deref.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99468,6 +99468,11 @@
9946899468
"type": "boolean",
9946999469
"description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
9947099470
"default": false
99471+
},
99472+
"use_squash_pr_title_as_default": {
99473+
"type": "boolean",
99474+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
99475+
"default": false
9947199476
}
9947299477
},
9947399478
"required": [
@@ -116230,6 +116235,14 @@
116230116235
"default": "push"
116231116236
}
116232116237
}
116238+
},
116239+
"examples": {
116240+
"default": {
116241+
"summary": "Adding a team to an organization repository with the write role",
116242+
"value": {
116243+
"permission": "push"
116244+
}
116245+
}
116233116246
}
116234116247
}
116235116248
}
@@ -129551,6 +129564,11 @@
129551129564
"description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
129552129565
"default": false
129553129566
},
129567+
"use_squash_pr_title_as_default": {
129568+
"type": "boolean",
129569+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
129570+
"default": false
129571+
},
129554129572
"archived": {
129555129573
"type": "boolean",
129556129574
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",

lib/rest/static/dereferenced/ghes-3.3.deref.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100037,6 +100037,11 @@
100037100037
"type": "boolean",
100038100038
"description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
100039100039
"default": false
100040+
},
100041+
"use_squash_pr_title_as_default": {
100042+
"type": "boolean",
100043+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
100044+
"default": false
100040100045
}
100041100046
},
100042100047
"required": [
@@ -119694,6 +119699,14 @@
119694119699
"default": "push"
119695119700
}
119696119701
}
119702+
},
119703+
"examples": {
119704+
"default": {
119705+
"summary": "Adding a team to an organization repository with the write role",
119706+
"value": {
119707+
"permission": "push"
119708+
}
119709+
}
119697119710
}
119698119711
}
119699119712
}
@@ -132374,6 +132387,11 @@
132374132387
"description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
132375132388
"default": false
132376132389
},
132390+
"use_squash_pr_title_as_default": {
132391+
"type": "boolean",
132392+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
132393+
"default": false
132394+
},
132377132395
"archived": {
132378132396
"type": "boolean",
132379132397
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",

0 commit comments

Comments
 (0)