@octokit/openapi 7.3.0 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +8561 -1
- package/generated/api.github.com.json +322 -10
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +103 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +103 -1
- package/generated/ghes-3.2.deref.json +140 -1
- package/generated/ghes-3.2.json +137 -10
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
- package/generated/ghes-3.3.deref.json +140 -1
- package/generated/ghes-3.3.json +137 -10
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +141 -1
- package/generated/ghes-3.4.json +138 -10
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +764 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +125 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +124 -4
- package/generated/ghes-3.5.deref.json +151 -1
- package/generated/ghes-3.5.json +148 -10
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +311 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +175 -1
- package/generated/ghes-3.6.deref.json +6997 -1
- package/generated/ghes-3.6.json +322 -10
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +701 -3
- package/generated/github.ae-diff-to-api.github.com.deref.json +115 -1
- package/generated/github.ae-diff-to-api.github.com.json +114 -4
- package/generated/github.ae.deref.json +129 -1
- package/generated/github.ae.json +126 -10
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1991,6 +1991,40 @@
|
|
|
1991
1991
|
"type": "boolean",
|
|
1992
1992
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
1993
1993
|
"default": false
|
|
1994
|
+
},
|
|
1995
|
+
"squash_merge_commit_title": {
|
|
1996
|
+
"type": "string",
|
|
1997
|
+
"enum": [
|
|
1998
|
+
"PR_TITLE",
|
|
1999
|
+
"COMMIT_OR_PR_TITLE"
|
|
2000
|
+
],
|
|
2001
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
2002
|
+
},
|
|
2003
|
+
"squash_merge_commit_message": {
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"enum": [
|
|
2006
|
+
"PR_BODY",
|
|
2007
|
+
"COMMIT_MESSAGES",
|
|
2008
|
+
"BLANK"
|
|
2009
|
+
],
|
|
2010
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
2011
|
+
},
|
|
2012
|
+
"merge_commit_title": {
|
|
2013
|
+
"type": "string",
|
|
2014
|
+
"enum": [
|
|
2015
|
+
"PR_TITLE",
|
|
2016
|
+
"MERGE_MESSAGE"
|
|
2017
|
+
],
|
|
2018
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
2019
|
+
},
|
|
2020
|
+
"merge_commit_message": {
|
|
2021
|
+
"type": "string",
|
|
2022
|
+
"enum": [
|
|
2023
|
+
"PR_BODY",
|
|
2024
|
+
"PR_TITLE",
|
|
2025
|
+
"BLANK"
|
|
2026
|
+
],
|
|
2027
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
1994
2028
|
}
|
|
1995
2029
|
},
|
|
1996
2030
|
"required": [
|
|
@@ -2417,6 +2451,40 @@
|
|
|
2417
2451
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
2418
2452
|
"default": false
|
|
2419
2453
|
},
|
|
2454
|
+
"squash_merge_commit_title": {
|
|
2455
|
+
"type": "string",
|
|
2456
|
+
"enum": [
|
|
2457
|
+
"PR_TITLE",
|
|
2458
|
+
"COMMIT_OR_PR_TITLE"
|
|
2459
|
+
],
|
|
2460
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
2461
|
+
},
|
|
2462
|
+
"squash_merge_commit_message": {
|
|
2463
|
+
"type": "string",
|
|
2464
|
+
"enum": [
|
|
2465
|
+
"PR_BODY",
|
|
2466
|
+
"COMMIT_MESSAGES",
|
|
2467
|
+
"BLANK"
|
|
2468
|
+
],
|
|
2469
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
2470
|
+
},
|
|
2471
|
+
"merge_commit_title": {
|
|
2472
|
+
"type": "string",
|
|
2473
|
+
"enum": [
|
|
2474
|
+
"PR_TITLE",
|
|
2475
|
+
"MERGE_MESSAGE"
|
|
2476
|
+
],
|
|
2477
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
2478
|
+
},
|
|
2479
|
+
"merge_commit_message": {
|
|
2480
|
+
"type": "string",
|
|
2481
|
+
"enum": [
|
|
2482
|
+
"PR_BODY",
|
|
2483
|
+
"PR_TITLE",
|
|
2484
|
+
"BLANK"
|
|
2485
|
+
],
|
|
2486
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
2487
|
+
},
|
|
2420
2488
|
"archived": {
|
|
2421
2489
|
"type": "boolean",
|
|
2422
2490
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -7362,6 +7430,40 @@
|
|
|
7362
7430
|
"type": "boolean",
|
|
7363
7431
|
"example": false
|
|
7364
7432
|
},
|
|
7433
|
+
"squash_merge_commit_title": {
|
|
7434
|
+
"type": "string",
|
|
7435
|
+
"enum": [
|
|
7436
|
+
"PR_TITLE",
|
|
7437
|
+
"COMMIT_OR_PR_TITLE"
|
|
7438
|
+
],
|
|
7439
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
7440
|
+
},
|
|
7441
|
+
"squash_merge_commit_message": {
|
|
7442
|
+
"type": "string",
|
|
7443
|
+
"enum": [
|
|
7444
|
+
"PR_BODY",
|
|
7445
|
+
"COMMIT_MESSAGES",
|
|
7446
|
+
"BLANK"
|
|
7447
|
+
],
|
|
7448
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
7449
|
+
},
|
|
7450
|
+
"merge_commit_title": {
|
|
7451
|
+
"type": "string",
|
|
7452
|
+
"enum": [
|
|
7453
|
+
"PR_TITLE",
|
|
7454
|
+
"MERGE_MESSAGE"
|
|
7455
|
+
],
|
|
7456
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
7457
|
+
},
|
|
7458
|
+
"merge_commit_message": {
|
|
7459
|
+
"type": "string",
|
|
7460
|
+
"enum": [
|
|
7461
|
+
"PR_BODY",
|
|
7462
|
+
"PR_TITLE",
|
|
7463
|
+
"BLANK"
|
|
7464
|
+
],
|
|
7465
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
7466
|
+
},
|
|
7365
7467
|
"has_downloads": {
|
|
7366
7468
|
"description": "Whether downloads are enabled.",
|
|
7367
7469
|
"default": true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -85964,6 +85964,40 @@
|
|
|
85964
85964
|
"type": "boolean",
|
|
85965
85965
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
85966
85966
|
"default": false
|
|
85967
|
+
},
|
|
85968
|
+
"squash_merge_commit_title": {
|
|
85969
|
+
"type": "string",
|
|
85970
|
+
"enum": [
|
|
85971
|
+
"PR_TITLE",
|
|
85972
|
+
"COMMIT_OR_PR_TITLE"
|
|
85973
|
+
],
|
|
85974
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
85975
|
+
},
|
|
85976
|
+
"squash_merge_commit_message": {
|
|
85977
|
+
"type": "string",
|
|
85978
|
+
"enum": [
|
|
85979
|
+
"PR_BODY",
|
|
85980
|
+
"COMMIT_MESSAGES",
|
|
85981
|
+
"BLANK"
|
|
85982
|
+
],
|
|
85983
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
85984
|
+
},
|
|
85985
|
+
"merge_commit_title": {
|
|
85986
|
+
"type": "string",
|
|
85987
|
+
"enum": [
|
|
85988
|
+
"PR_TITLE",
|
|
85989
|
+
"MERGE_MESSAGE"
|
|
85990
|
+
],
|
|
85991
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
85992
|
+
},
|
|
85993
|
+
"merge_commit_message": {
|
|
85994
|
+
"type": "string",
|
|
85995
|
+
"enum": [
|
|
85996
|
+
"PR_BODY",
|
|
85997
|
+
"PR_TITLE",
|
|
85998
|
+
"BLANK"
|
|
85999
|
+
],
|
|
86000
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
85967
86001
|
}
|
|
85968
86002
|
},
|
|
85969
86003
|
"required": [
|
|
@@ -111513,6 +111547,40 @@
|
|
|
111513
111547
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
111514
111548
|
"default": false
|
|
111515
111549
|
},
|
|
111550
|
+
"squash_merge_commit_title": {
|
|
111551
|
+
"type": "string",
|
|
111552
|
+
"enum": [
|
|
111553
|
+
"PR_TITLE",
|
|
111554
|
+
"COMMIT_OR_PR_TITLE"
|
|
111555
|
+
],
|
|
111556
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
111557
|
+
},
|
|
111558
|
+
"squash_merge_commit_message": {
|
|
111559
|
+
"type": "string",
|
|
111560
|
+
"enum": [
|
|
111561
|
+
"PR_BODY",
|
|
111562
|
+
"COMMIT_MESSAGES",
|
|
111563
|
+
"BLANK"
|
|
111564
|
+
],
|
|
111565
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
111566
|
+
},
|
|
111567
|
+
"merge_commit_title": {
|
|
111568
|
+
"type": "string",
|
|
111569
|
+
"enum": [
|
|
111570
|
+
"PR_TITLE",
|
|
111571
|
+
"MERGE_MESSAGE"
|
|
111572
|
+
],
|
|
111573
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
111574
|
+
},
|
|
111575
|
+
"merge_commit_message": {
|
|
111576
|
+
"type": "string",
|
|
111577
|
+
"enum": [
|
|
111578
|
+
"PR_BODY",
|
|
111579
|
+
"PR_TITLE",
|
|
111580
|
+
"BLANK"
|
|
111581
|
+
],
|
|
111582
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
111583
|
+
},
|
|
111516
111584
|
"archived": {
|
|
111517
111585
|
"type": "boolean",
|
|
111518
111586
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -129191,9 +129259,16 @@
|
|
|
129191
129259
|
"content": {
|
|
129192
129260
|
"application/json": {
|
|
129193
129261
|
"schema": {
|
|
129262
|
+
"title": "Empty Object",
|
|
129263
|
+
"description": "An object without any properties.",
|
|
129194
129264
|
"type": "object",
|
|
129195
129265
|
"properties": {},
|
|
129196
129266
|
"additionalProperties": false
|
|
129267
|
+
},
|
|
129268
|
+
"examples": {
|
|
129269
|
+
"default": {
|
|
129270
|
+
"value": null
|
|
129271
|
+
}
|
|
129197
129272
|
}
|
|
129198
129273
|
}
|
|
129199
129274
|
}
|
|
@@ -130346,6 +130421,17 @@
|
|
|
130346
130421
|
"state",
|
|
130347
130422
|
"comment"
|
|
130348
130423
|
]
|
|
130424
|
+
},
|
|
130425
|
+
"examples": {
|
|
130426
|
+
"default": {
|
|
130427
|
+
"value": {
|
|
130428
|
+
"environment_ids": [
|
|
130429
|
+
161171787
|
|
130430
|
+
],
|
|
130431
|
+
"state": "approved",
|
|
130432
|
+
"comment": "Ship it!"
|
|
130433
|
+
}
|
|
130434
|
+
}
|
|
130349
130435
|
}
|
|
130350
130436
|
}
|
|
130351
130437
|
}
|
|
@@ -130935,6 +131021,11 @@
|
|
|
130935
131021
|
"schema": {
|
|
130936
131022
|
"type": "object",
|
|
130937
131023
|
"nullable": true
|
|
131024
|
+
},
|
|
131025
|
+
"examples": {
|
|
131026
|
+
"default": {
|
|
131027
|
+
"value": null
|
|
131028
|
+
}
|
|
130938
131029
|
}
|
|
130939
131030
|
}
|
|
130940
131031
|
}
|
|
@@ -130945,9 +131036,16 @@
|
|
|
130945
131036
|
"content": {
|
|
130946
131037
|
"application/json": {
|
|
130947
131038
|
"schema": {
|
|
131039
|
+
"title": "Empty Object",
|
|
131040
|
+
"description": "An object without any properties.",
|
|
130948
131041
|
"type": "object",
|
|
130949
131042
|
"properties": {},
|
|
130950
131043
|
"additionalProperties": false
|
|
131044
|
+
},
|
|
131045
|
+
"examples": {
|
|
131046
|
+
"default": {
|
|
131047
|
+
"value": null
|
|
131048
|
+
}
|
|
130951
131049
|
}
|
|
130952
131050
|
}
|
|
130953
131051
|
}
|
|
@@ -131359,9 +131457,16 @@
|
|
|
131359
131457
|
"content": {
|
|
131360
131458
|
"application/json": {
|
|
131361
131459
|
"schema": {
|
|
131460
|
+
"title": "Empty Object",
|
|
131461
|
+
"description": "An object without any properties.",
|
|
131362
131462
|
"type": "object",
|
|
131363
131463
|
"properties": {},
|
|
131364
131464
|
"additionalProperties": false
|
|
131465
|
+
},
|
|
131466
|
+
"examples": {
|
|
131467
|
+
"default": {
|
|
131468
|
+
"value": null
|
|
131469
|
+
}
|
|
131365
131470
|
}
|
|
131366
131471
|
}
|
|
131367
131472
|
}
|
|
@@ -368169,6 +368274,40 @@
|
|
|
368169
368274
|
"type": "boolean",
|
|
368170
368275
|
"example": false
|
|
368171
368276
|
},
|
|
368277
|
+
"squash_merge_commit_title": {
|
|
368278
|
+
"type": "string",
|
|
368279
|
+
"enum": [
|
|
368280
|
+
"PR_TITLE",
|
|
368281
|
+
"COMMIT_OR_PR_TITLE"
|
|
368282
|
+
],
|
|
368283
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
368284
|
+
},
|
|
368285
|
+
"squash_merge_commit_message": {
|
|
368286
|
+
"type": "string",
|
|
368287
|
+
"enum": [
|
|
368288
|
+
"PR_BODY",
|
|
368289
|
+
"COMMIT_MESSAGES",
|
|
368290
|
+
"BLANK"
|
|
368291
|
+
],
|
|
368292
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
368293
|
+
},
|
|
368294
|
+
"merge_commit_title": {
|
|
368295
|
+
"type": "string",
|
|
368296
|
+
"enum": [
|
|
368297
|
+
"PR_TITLE",
|
|
368298
|
+
"MERGE_MESSAGE"
|
|
368299
|
+
],
|
|
368300
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
368301
|
+
},
|
|
368302
|
+
"merge_commit_message": {
|
|
368303
|
+
"type": "string",
|
|
368304
|
+
"enum": [
|
|
368305
|
+
"PR_BODY",
|
|
368306
|
+
"PR_TITLE",
|
|
368307
|
+
"BLANK"
|
|
368308
|
+
],
|
|
368309
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
368310
|
+
},
|
|
368172
368311
|
"has_downloads": {
|
|
368173
368312
|
"description": "Whether downloads are enabled.",
|
|
368174
368313
|
"default": true,
|
package/generated/ghes-3.2.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -13897,6 +13897,40 @@
|
|
|
13897
13897
|
"type": "boolean",
|
|
13898
13898
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
13899
13899
|
"default": false
|
|
13900
|
+
},
|
|
13901
|
+
"squash_merge_commit_title": {
|
|
13902
|
+
"type": "string",
|
|
13903
|
+
"enum": [
|
|
13904
|
+
"PR_TITLE",
|
|
13905
|
+
"COMMIT_OR_PR_TITLE"
|
|
13906
|
+
],
|
|
13907
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
13908
|
+
},
|
|
13909
|
+
"squash_merge_commit_message": {
|
|
13910
|
+
"type": "string",
|
|
13911
|
+
"enum": [
|
|
13912
|
+
"PR_BODY",
|
|
13913
|
+
"COMMIT_MESSAGES",
|
|
13914
|
+
"BLANK"
|
|
13915
|
+
],
|
|
13916
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
13917
|
+
},
|
|
13918
|
+
"merge_commit_title": {
|
|
13919
|
+
"type": "string",
|
|
13920
|
+
"enum": [
|
|
13921
|
+
"PR_TITLE",
|
|
13922
|
+
"MERGE_MESSAGE"
|
|
13923
|
+
],
|
|
13924
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
13925
|
+
},
|
|
13926
|
+
"merge_commit_message": {
|
|
13927
|
+
"type": "string",
|
|
13928
|
+
"enum": [
|
|
13929
|
+
"PR_BODY",
|
|
13930
|
+
"PR_TITLE",
|
|
13931
|
+
"BLANK"
|
|
13932
|
+
],
|
|
13933
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
13900
13934
|
}
|
|
13901
13935
|
},
|
|
13902
13936
|
"required": [
|
|
@@ -18278,6 +18312,40 @@
|
|
|
18278
18312
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
18279
18313
|
"default": false
|
|
18280
18314
|
},
|
|
18315
|
+
"squash_merge_commit_title": {
|
|
18316
|
+
"type": "string",
|
|
18317
|
+
"enum": [
|
|
18318
|
+
"PR_TITLE",
|
|
18319
|
+
"COMMIT_OR_PR_TITLE"
|
|
18320
|
+
],
|
|
18321
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
18322
|
+
},
|
|
18323
|
+
"squash_merge_commit_message": {
|
|
18324
|
+
"type": "string",
|
|
18325
|
+
"enum": [
|
|
18326
|
+
"PR_BODY",
|
|
18327
|
+
"COMMIT_MESSAGES",
|
|
18328
|
+
"BLANK"
|
|
18329
|
+
],
|
|
18330
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
18331
|
+
},
|
|
18332
|
+
"merge_commit_title": {
|
|
18333
|
+
"type": "string",
|
|
18334
|
+
"enum": [
|
|
18335
|
+
"PR_TITLE",
|
|
18336
|
+
"MERGE_MESSAGE"
|
|
18337
|
+
],
|
|
18338
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
18339
|
+
},
|
|
18340
|
+
"merge_commit_message": {
|
|
18341
|
+
"type": "string",
|
|
18342
|
+
"enum": [
|
|
18343
|
+
"PR_BODY",
|
|
18344
|
+
"PR_TITLE",
|
|
18345
|
+
"BLANK"
|
|
18346
|
+
],
|
|
18347
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
18348
|
+
},
|
|
18281
18349
|
"archived": {
|
|
18282
18350
|
"type": "boolean",
|
|
18283
18351
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -19598,9 +19666,12 @@
|
|
|
19598
19666
|
"content": {
|
|
19599
19667
|
"application/json": {
|
|
19600
19668
|
"schema": {
|
|
19601
|
-
"
|
|
19602
|
-
|
|
19603
|
-
|
|
19669
|
+
"$ref": "#/components/schemas/empty-object"
|
|
19670
|
+
},
|
|
19671
|
+
"examples": {
|
|
19672
|
+
"default": {
|
|
19673
|
+
"value": null
|
|
19674
|
+
}
|
|
19604
19675
|
}
|
|
19605
19676
|
}
|
|
19606
19677
|
}
|
|
@@ -19911,6 +19982,17 @@
|
|
|
19911
19982
|
"state",
|
|
19912
19983
|
"comment"
|
|
19913
19984
|
]
|
|
19985
|
+
},
|
|
19986
|
+
"examples": {
|
|
19987
|
+
"default": {
|
|
19988
|
+
"value": {
|
|
19989
|
+
"environment_ids": [
|
|
19990
|
+
161171787
|
|
19991
|
+
],
|
|
19992
|
+
"state": "approved",
|
|
19993
|
+
"comment": "Ship it!"
|
|
19994
|
+
}
|
|
19995
|
+
}
|
|
19914
19996
|
}
|
|
19915
19997
|
}
|
|
19916
19998
|
}
|
|
@@ -19974,6 +20056,11 @@
|
|
|
19974
20056
|
"schema": {
|
|
19975
20057
|
"type": "object",
|
|
19976
20058
|
"nullable": true
|
|
20059
|
+
},
|
|
20060
|
+
"examples": {
|
|
20061
|
+
"default": {
|
|
20062
|
+
"value": null
|
|
20063
|
+
}
|
|
19977
20064
|
}
|
|
19978
20065
|
}
|
|
19979
20066
|
}
|
|
@@ -19984,9 +20071,12 @@
|
|
|
19984
20071
|
"content": {
|
|
19985
20072
|
"application/json": {
|
|
19986
20073
|
"schema": {
|
|
19987
|
-
"
|
|
19988
|
-
|
|
19989
|
-
|
|
20074
|
+
"$ref": "#/components/schemas/empty-object"
|
|
20075
|
+
},
|
|
20076
|
+
"examples": {
|
|
20077
|
+
"default": {
|
|
20078
|
+
"value": null
|
|
20079
|
+
}
|
|
19990
20080
|
}
|
|
19991
20081
|
}
|
|
19992
20082
|
}
|
|
@@ -20224,9 +20314,12 @@
|
|
|
20224
20314
|
"content": {
|
|
20225
20315
|
"application/json": {
|
|
20226
20316
|
"schema": {
|
|
20227
|
-
"
|
|
20228
|
-
|
|
20229
|
-
|
|
20317
|
+
"$ref": "#/components/schemas/empty-object"
|
|
20318
|
+
},
|
|
20319
|
+
"examples": {
|
|
20320
|
+
"default": {
|
|
20321
|
+
"value": null
|
|
20322
|
+
}
|
|
20230
20323
|
}
|
|
20231
20324
|
}
|
|
20232
20325
|
}
|
|
@@ -47756,6 +47849,40 @@
|
|
|
47756
47849
|
"type": "boolean",
|
|
47757
47850
|
"example": false
|
|
47758
47851
|
},
|
|
47852
|
+
"squash_merge_commit_title": {
|
|
47853
|
+
"type": "string",
|
|
47854
|
+
"enum": [
|
|
47855
|
+
"PR_TITLE",
|
|
47856
|
+
"COMMIT_OR_PR_TITLE"
|
|
47857
|
+
],
|
|
47858
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
47859
|
+
},
|
|
47860
|
+
"squash_merge_commit_message": {
|
|
47861
|
+
"type": "string",
|
|
47862
|
+
"enum": [
|
|
47863
|
+
"PR_BODY",
|
|
47864
|
+
"COMMIT_MESSAGES",
|
|
47865
|
+
"BLANK"
|
|
47866
|
+
],
|
|
47867
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
47868
|
+
},
|
|
47869
|
+
"merge_commit_title": {
|
|
47870
|
+
"type": "string",
|
|
47871
|
+
"enum": [
|
|
47872
|
+
"PR_TITLE",
|
|
47873
|
+
"MERGE_MESSAGE"
|
|
47874
|
+
],
|
|
47875
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
47876
|
+
},
|
|
47877
|
+
"merge_commit_message": {
|
|
47878
|
+
"type": "string",
|
|
47879
|
+
"enum": [
|
|
47880
|
+
"PR_BODY",
|
|
47881
|
+
"PR_TITLE",
|
|
47882
|
+
"BLANK"
|
|
47883
|
+
],
|
|
47884
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
47885
|
+
},
|
|
47759
47886
|
"has_downloads": {
|
|
47760
47887
|
"description": "Whether downloads are enabled.",
|
|
47761
47888
|
"default": true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|