@octokit/openapi 7.2.0 → 7.5.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.
Files changed (35) hide show
  1. package/generated/api.github.com.deref.json +9605 -6
  2. package/generated/api.github.com.json +405 -33
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +119 -1
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +111 -1
  7. package/generated/ghes-3.2.deref.json +348 -1
  8. package/generated/ghes-3.2.json +145 -10
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +16 -0
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +209 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +9 -1
  12. package/generated/ghes-3.3.deref.json +348 -3
  13. package/generated/ghes-3.3.json +145 -11
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  16. package/generated/ghes-3.4.deref.json +333 -3
  17. package/generated/ghes-3.4.json +146 -11
  18. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +1548 -135
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +53558 -37094
  22. package/generated/ghes-3.5-diff-to-ghes-3.6.json +8076 -3526
  23. package/generated/ghes-3.5.deref.json +427 -15
  24. package/generated/ghes-3.5.json +240 -23
  25. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +88 -0
  26. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +442 -1
  27. package/generated/ghes-3.6-diff-to-api.github.com.json +212 -1
  28. package/generated/ghes-3.6.deref.json +7923 -1
  29. package/generated/ghes-3.6.json +380 -10
  30. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +733 -3
  31. package/generated/github.ae-diff-to-api.github.com.deref.json +751 -1
  32. package/generated/github.ae-diff-to-api.github.com.json +152 -4
  33. package/generated/github.ae.deref.json +926 -1
  34. package/generated/github.ae.json +184 -10
  35. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.2.0",
4
+ "version": "7.5.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": {
@@ -4716,6 +4716,40 @@
4716
4716
  "type": "boolean",
4717
4717
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
4718
4718
  "default": false
4719
+ },
4720
+ "squash_merge_commit_title": {
4721
+ "type": "string",
4722
+ "enum": [
4723
+ "PR_TITLE",
4724
+ "COMMIT_OR_PR_TITLE"
4725
+ ],
4726
+ "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)."
4727
+ },
4728
+ "squash_merge_commit_message": {
4729
+ "type": "string",
4730
+ "enum": [
4731
+ "PR_BODY",
4732
+ "COMMIT_MESSAGES",
4733
+ "BLANK"
4734
+ ],
4735
+ "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."
4736
+ },
4737
+ "merge_commit_title": {
4738
+ "type": "string",
4739
+ "enum": [
4740
+ "PR_TITLE",
4741
+ "MERGE_MESSAGE"
4742
+ ],
4743
+ "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)."
4744
+ },
4745
+ "merge_commit_message": {
4746
+ "type": "string",
4747
+ "enum": [
4748
+ "PR_BODY",
4749
+ "PR_TITLE",
4750
+ "BLANK"
4751
+ ],
4752
+ "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."
4719
4753
  }
4720
4754
  },
4721
4755
  "required": [
@@ -5184,6 +5218,40 @@
5184
5218
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
5185
5219
  "default": false
5186
5220
  },
5221
+ "squash_merge_commit_title": {
5222
+ "type": "string",
5223
+ "enum": [
5224
+ "PR_TITLE",
5225
+ "COMMIT_OR_PR_TITLE"
5226
+ ],
5227
+ "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)."
5228
+ },
5229
+ "squash_merge_commit_message": {
5230
+ "type": "string",
5231
+ "enum": [
5232
+ "PR_BODY",
5233
+ "COMMIT_MESSAGES",
5234
+ "BLANK"
5235
+ ],
5236
+ "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."
5237
+ },
5238
+ "merge_commit_title": {
5239
+ "type": "string",
5240
+ "enum": [
5241
+ "PR_TITLE",
5242
+ "MERGE_MESSAGE"
5243
+ ],
5244
+ "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)."
5245
+ },
5246
+ "merge_commit_message": {
5247
+ "type": "string",
5248
+ "enum": [
5249
+ "PR_BODY",
5250
+ "PR_TITLE",
5251
+ "BLANK"
5252
+ ],
5253
+ "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."
5254
+ },
5187
5255
  "archived": {
5188
5256
  "type": "boolean",
5189
5257
  "description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
@@ -5193,6 +5261,11 @@
5193
5261
  "type": "boolean",
5194
5262
  "description": "Either `true` to allow private forks, or `false` to prevent private forks.",
5195
5263
  "default": false
5264
+ },
5265
+ "web_commit_signoff_required": {
5266
+ "type": "boolean",
5267
+ "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.",
5268
+ "default": false
5196
5269
  }
5197
5270
  }
5198
5271
  },
@@ -5605,6 +5678,11 @@
5605
5678
  "schema": {
5606
5679
  "type": "object",
5607
5680
  "nullable": true
5681
+ },
5682
+ "examples": {
5683
+ "default": {
5684
+ "value": null
5685
+ }
5608
5686
  }
5609
5687
  }
5610
5688
  }
@@ -5615,9 +5693,12 @@
5615
5693
  "content": {
5616
5694
  "application/json": {
5617
5695
  "schema": {
5618
- "type": "object",
5619
- "properties": {},
5620
- "additionalProperties": false
5696
+ "$ref": "#/components/schemas/empty-object"
5697
+ },
5698
+ "examples": {
5699
+ "default": {
5700
+ "value": null
5701
+ }
5621
5702
  }
5622
5703
  }
5623
5704
  }
@@ -10932,6 +11013,40 @@
10932
11013
  "type": "boolean",
10933
11014
  "example": false
10934
11015
  },
11016
+ "squash_merge_commit_title": {
11017
+ "type": "string",
11018
+ "enum": [
11019
+ "PR_TITLE",
11020
+ "COMMIT_OR_PR_TITLE"
11021
+ ],
11022
+ "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)."
11023
+ },
11024
+ "squash_merge_commit_message": {
11025
+ "type": "string",
11026
+ "enum": [
11027
+ "PR_BODY",
11028
+ "COMMIT_MESSAGES",
11029
+ "BLANK"
11030
+ ],
11031
+ "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."
11032
+ },
11033
+ "merge_commit_title": {
11034
+ "type": "string",
11035
+ "enum": [
11036
+ "PR_TITLE",
11037
+ "MERGE_MESSAGE"
11038
+ ],
11039
+ "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)."
11040
+ },
11041
+ "merge_commit_message": {
11042
+ "type": "string",
11043
+ "enum": [
11044
+ "PR_BODY",
11045
+ "PR_TITLE",
11046
+ "BLANK"
11047
+ ],
11048
+ "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."
11049
+ },
10935
11050
  "has_downloads": {
10936
11051
  "description": "Whether downloads are enabled.",
10937
11052
  "default": true,
@@ -12718,6 +12833,14 @@
12718
12833
  "write"
12719
12834
  ]
12720
12835
  },
12836
+ "organization_custom_roles": {
12837
+ "type": "string",
12838
+ "description": "The level of permission to grant the access token for custom roles management.",
12839
+ "enum": [
12840
+ "read",
12841
+ "write"
12842
+ ]
12843
+ },
12721
12844
  "deployments": {
12722
12845
  "type": "string",
12723
12846
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -14268,6 +14391,11 @@
14268
14391
  "description": "Whether to allow forking this repo",
14269
14392
  "type": "boolean"
14270
14393
  },
14394
+ "web_commit_signoff_required": {
14395
+ "description": "Whether to require contributors to sign off on web-based commits",
14396
+ "default": false,
14397
+ "type": "boolean"
14398
+ },
14271
14399
  "subscribers_count": {
14272
14400
  "type": "integer"
14273
14401
  },
@@ -15206,6 +15334,10 @@
15206
15334
  },
15207
15335
  "allow_forking": {
15208
15336
  "type": "boolean"
15337
+ },
15338
+ "web_commit_signoff_required": {
15339
+ "type": "boolean",
15340
+ "example": false
15209
15341
  }
15210
15342
  },
15211
15343
  "required": [
@@ -15763,6 +15895,12 @@
15763
15895
  "type": "boolean",
15764
15896
  "example": false
15765
15897
  },
15898
+ "web_commit_signoff_required": {
15899
+ "description": "Whether to require contributors to sign off on web-based commits",
15900
+ "default": false,
15901
+ "type": "boolean",
15902
+ "example": false
15903
+ },
15766
15904
  "subscribers_count": {
15767
15905
  "type": "integer"
15768
15906
  },
@@ -16287,6 +16425,10 @@
16287
16425
  "type": "boolean",
16288
16426
  "example": true
16289
16427
  },
16428
+ "web_commit_signoff_required": {
16429
+ "type": "boolean",
16430
+ "example": false
16431
+ },
16290
16432
  "subscribers_count": {
16291
16433
  "type": "integer",
16292
16434
  "example": 42
@@ -20044,6 +20186,11 @@
20044
20186
  "description": "Whether to allow forking this repo",
20045
20187
  "type": "boolean"
20046
20188
  },
20189
+ "web_commit_signoff_required": {
20190
+ "description": "Whether to require contributors to sign off on web-based commits",
20191
+ "default": false,
20192
+ "type": "boolean"
20193
+ },
20047
20194
  "subscribers_count": {
20048
20195
  "type": "integer"
20049
20196
  },
@@ -25156,6 +25303,7 @@
25156
25303
  "delete_branch_on_merge": true,
25157
25304
  "allow_merge_commit": true,
25158
25305
  "allow_forking": true,
25306
+ "web_commit_signoff_required": false,
25159
25307
  "subscribers_count": 42,
25160
25308
  "network_count": 0,
25161
25309
  "organization": {