@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.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +8561 -1
  2. package/generated/api.github.com.json +322 -10
  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 +103 -1
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +103 -1
  7. package/generated/ghes-3.2.deref.json +140 -1
  8. package/generated/ghes-3.2.json +137 -10
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
  11. package/generated/ghes-3.3.deref.json +140 -1
  12. package/generated/ghes-3.3.json +137 -10
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  15. package/generated/ghes-3.4.deref.json +141 -1
  16. package/generated/ghes-3.4.json +138 -10
  17. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +764 -0
  18. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  19. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +125 -1
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.json +124 -4
  22. package/generated/ghes-3.5.deref.json +151 -1
  23. package/generated/ghes-3.5.json +148 -10
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +311 -1
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +175 -1
  26. package/generated/ghes-3.6.deref.json +6997 -1
  27. package/generated/ghes-3.6.json +322 -10
  28. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +701 -3
  29. package/generated/github.ae-diff-to-api.github.com.deref.json +115 -1
  30. package/generated/github.ae-diff-to-api.github.com.json +114 -4
  31. package/generated/github.ae.deref.json +129 -1
  32. package/generated/github.ae.json +126 -10
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.3.0",
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": {
@@ -11489,6 +11489,40 @@
11489
11489
  "type": "boolean",
11490
11490
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
11491
11491
  "default": false
11492
+ },
11493
+ "squash_merge_commit_title": {
11494
+ "type": "string",
11495
+ "enum": [
11496
+ "PR_TITLE",
11497
+ "COMMIT_OR_PR_TITLE"
11498
+ ],
11499
+ "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)."
11500
+ },
11501
+ "squash_merge_commit_message": {
11502
+ "type": "string",
11503
+ "enum": [
11504
+ "PR_BODY",
11505
+ "COMMIT_MESSAGES",
11506
+ "BLANK"
11507
+ ],
11508
+ "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."
11509
+ },
11510
+ "merge_commit_title": {
11511
+ "type": "string",
11512
+ "enum": [
11513
+ "PR_TITLE",
11514
+ "MERGE_MESSAGE"
11515
+ ],
11516
+ "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)."
11517
+ },
11518
+ "merge_commit_message": {
11519
+ "type": "string",
11520
+ "enum": [
11521
+ "PR_BODY",
11522
+ "PR_TITLE",
11523
+ "BLANK"
11524
+ ],
11525
+ "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."
11492
11526
  }
11493
11527
  },
11494
11528
  "required": [
@@ -15701,6 +15735,40 @@
15701
15735
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
15702
15736
  "default": false
15703
15737
  },
15738
+ "squash_merge_commit_title": {
15739
+ "type": "string",
15740
+ "enum": [
15741
+ "PR_TITLE",
15742
+ "COMMIT_OR_PR_TITLE"
15743
+ ],
15744
+ "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)."
15745
+ },
15746
+ "squash_merge_commit_message": {
15747
+ "type": "string",
15748
+ "enum": [
15749
+ "PR_BODY",
15750
+ "COMMIT_MESSAGES",
15751
+ "BLANK"
15752
+ ],
15753
+ "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."
15754
+ },
15755
+ "merge_commit_title": {
15756
+ "type": "string",
15757
+ "enum": [
15758
+ "PR_TITLE",
15759
+ "MERGE_MESSAGE"
15760
+ ],
15761
+ "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)."
15762
+ },
15763
+ "merge_commit_message": {
15764
+ "type": "string",
15765
+ "enum": [
15766
+ "PR_BODY",
15767
+ "PR_TITLE",
15768
+ "BLANK"
15769
+ ],
15770
+ "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."
15771
+ },
15704
15772
  "archived": {
15705
15773
  "type": "boolean",
15706
15774
  "description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
@@ -17142,9 +17210,12 @@
17142
17210
  "content": {
17143
17211
  "application/json": {
17144
17212
  "schema": {
17145
- "type": "object",
17146
- "properties": {},
17147
- "additionalProperties": false
17213
+ "$ref": "#/components/schemas/empty-object"
17214
+ },
17215
+ "examples": {
17216
+ "default": {
17217
+ "value": null
17218
+ }
17148
17219
  }
17149
17220
  }
17150
17221
  }
@@ -17367,6 +17438,11 @@
17367
17438
  "schema": {
17368
17439
  "type": "object",
17369
17440
  "nullable": true
17441
+ },
17442
+ "examples": {
17443
+ "default": {
17444
+ "value": null
17445
+ }
17370
17446
  }
17371
17447
  }
17372
17448
  }
@@ -17377,9 +17453,12 @@
17377
17453
  "content": {
17378
17454
  "application/json": {
17379
17455
  "schema": {
17380
- "type": "object",
17381
- "properties": {},
17382
- "additionalProperties": false
17456
+ "$ref": "#/components/schemas/empty-object"
17457
+ },
17458
+ "examples": {
17459
+ "default": {
17460
+ "value": null
17461
+ }
17383
17462
  }
17384
17463
  }
17385
17464
  }
@@ -17672,9 +17751,12 @@
17672
17751
  "content": {
17673
17752
  "application/json": {
17674
17753
  "schema": {
17675
- "type": "object",
17676
- "properties": {},
17677
- "additionalProperties": false
17754
+ "$ref": "#/components/schemas/empty-object"
17755
+ },
17756
+ "examples": {
17757
+ "default": {
17758
+ "value": null
17759
+ }
17678
17760
  }
17679
17761
  }
17680
17762
  }
@@ -44002,6 +44084,40 @@
44002
44084
  "type": "boolean",
44003
44085
  "example": false
44004
44086
  },
44087
+ "squash_merge_commit_title": {
44088
+ "type": "string",
44089
+ "enum": [
44090
+ "PR_TITLE",
44091
+ "COMMIT_OR_PR_TITLE"
44092
+ ],
44093
+ "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)."
44094
+ },
44095
+ "squash_merge_commit_message": {
44096
+ "type": "string",
44097
+ "enum": [
44098
+ "PR_BODY",
44099
+ "COMMIT_MESSAGES",
44100
+ "BLANK"
44101
+ ],
44102
+ "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."
44103
+ },
44104
+ "merge_commit_title": {
44105
+ "type": "string",
44106
+ "enum": [
44107
+ "PR_TITLE",
44108
+ "MERGE_MESSAGE"
44109
+ ],
44110
+ "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)."
44111
+ },
44112
+ "merge_commit_message": {
44113
+ "type": "string",
44114
+ "enum": [
44115
+ "PR_BODY",
44116
+ "PR_TITLE",
44117
+ "BLANK"
44118
+ ],
44119
+ "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."
44120
+ },
44005
44121
  "has_downloads": {
44006
44122
  "description": "Whether downloads are enabled.",
44007
44123
  "default": true,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "7.3.0",
6
+ "version": "7.4.0",
7
7
  "description": "GitHub's official OpenAPI spec with Octokit extensions",
8
8
  "main": "index.js",
9
9
  "files": [