@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": {
@@ -9414,6 +9414,7 @@
9414
9414
  "parameters": [
9415
9415
  {
9416
9416
  "name": "organization_id",
9417
+ "description": "The unique identifier of the organization.",
9417
9418
  "in": "path",
9418
9419
  "required": true,
9419
9420
  "schema": {
@@ -15091,6 +15092,40 @@
15091
15092
  "type": "boolean",
15092
15093
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
15093
15094
  "default": false
15095
+ },
15096
+ "squash_merge_commit_title": {
15097
+ "type": "string",
15098
+ "enum": [
15099
+ "PR_TITLE",
15100
+ "COMMIT_OR_PR_TITLE"
15101
+ ],
15102
+ "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)."
15103
+ },
15104
+ "squash_merge_commit_message": {
15105
+ "type": "string",
15106
+ "enum": [
15107
+ "PR_BODY",
15108
+ "COMMIT_MESSAGES",
15109
+ "BLANK"
15110
+ ],
15111
+ "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."
15112
+ },
15113
+ "merge_commit_title": {
15114
+ "type": "string",
15115
+ "enum": [
15116
+ "PR_TITLE",
15117
+ "MERGE_MESSAGE"
15118
+ ],
15119
+ "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)."
15120
+ },
15121
+ "merge_commit_message": {
15122
+ "type": "string",
15123
+ "enum": [
15124
+ "PR_BODY",
15125
+ "PR_TITLE",
15126
+ "BLANK"
15127
+ ],
15128
+ "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."
15094
15129
  }
15095
15130
  },
15096
15131
  "required": [
@@ -19330,6 +19365,40 @@
19330
19365
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
19331
19366
  "default": false
19332
19367
  },
19368
+ "squash_merge_commit_title": {
19369
+ "type": "string",
19370
+ "enum": [
19371
+ "PR_TITLE",
19372
+ "COMMIT_OR_PR_TITLE"
19373
+ ],
19374
+ "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)."
19375
+ },
19376
+ "squash_merge_commit_message": {
19377
+ "type": "string",
19378
+ "enum": [
19379
+ "PR_BODY",
19380
+ "COMMIT_MESSAGES",
19381
+ "BLANK"
19382
+ ],
19383
+ "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."
19384
+ },
19385
+ "merge_commit_title": {
19386
+ "type": "string",
19387
+ "enum": [
19388
+ "PR_TITLE",
19389
+ "MERGE_MESSAGE"
19390
+ ],
19391
+ "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)."
19392
+ },
19393
+ "merge_commit_message": {
19394
+ "type": "string",
19395
+ "enum": [
19396
+ "PR_BODY",
19397
+ "PR_TITLE",
19398
+ "BLANK"
19399
+ ],
19400
+ "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."
19401
+ },
19333
19402
  "archived": {
19334
19403
  "type": "boolean",
19335
19404
  "description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
@@ -20889,9 +20958,12 @@
20889
20958
  "content": {
20890
20959
  "application/json": {
20891
20960
  "schema": {
20892
- "type": "object",
20893
- "properties": {},
20894
- "additionalProperties": false
20961
+ "$ref": "#/components/schemas/empty-object"
20962
+ },
20963
+ "examples": {
20964
+ "default": {
20965
+ "value": null
20966
+ }
20895
20967
  }
20896
20968
  }
20897
20969
  }
@@ -21196,6 +21268,17 @@
21196
21268
  "state",
21197
21269
  "comment"
21198
21270
  ]
21271
+ },
21272
+ "examples": {
21273
+ "default": {
21274
+ "value": {
21275
+ "environment_ids": [
21276
+ 161171787
21277
+ ],
21278
+ "state": "approved",
21279
+ "comment": "Ship it!"
21280
+ }
21281
+ }
21199
21282
  }
21200
21283
  }
21201
21284
  }
@@ -21259,6 +21342,11 @@
21259
21342
  "schema": {
21260
21343
  "type": "object",
21261
21344
  "nullable": true
21345
+ },
21346
+ "examples": {
21347
+ "default": {
21348
+ "value": null
21349
+ }
21262
21350
  }
21263
21351
  }
21264
21352
  }
@@ -21269,9 +21357,12 @@
21269
21357
  "content": {
21270
21358
  "application/json": {
21271
21359
  "schema": {
21272
- "type": "object",
21273
- "properties": {},
21274
- "additionalProperties": false
21360
+ "$ref": "#/components/schemas/empty-object"
21361
+ },
21362
+ "examples": {
21363
+ "default": {
21364
+ "value": null
21365
+ }
21275
21366
  }
21276
21367
  }
21277
21368
  }
@@ -21509,9 +21600,12 @@
21509
21600
  "content": {
21510
21601
  "application/json": {
21511
21602
  "schema": {
21512
- "type": "object",
21513
- "properties": {},
21514
- "additionalProperties": false
21603
+ "$ref": "#/components/schemas/empty-object"
21604
+ },
21605
+ "examples": {
21606
+ "default": {
21607
+ "value": null
21608
+ }
21515
21609
  }
21516
21610
  }
21517
21611
  }
@@ -49626,6 +49720,40 @@
49626
49720
  "type": "boolean",
49627
49721
  "example": false
49628
49722
  },
49723
+ "squash_merge_commit_title": {
49724
+ "type": "string",
49725
+ "enum": [
49726
+ "PR_TITLE",
49727
+ "COMMIT_OR_PR_TITLE"
49728
+ ],
49729
+ "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)."
49730
+ },
49731
+ "squash_merge_commit_message": {
49732
+ "type": "string",
49733
+ "enum": [
49734
+ "PR_BODY",
49735
+ "COMMIT_MESSAGES",
49736
+ "BLANK"
49737
+ ],
49738
+ "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."
49739
+ },
49740
+ "merge_commit_title": {
49741
+ "type": "string",
49742
+ "enum": [
49743
+ "PR_TITLE",
49744
+ "MERGE_MESSAGE"
49745
+ ],
49746
+ "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)."
49747
+ },
49748
+ "merge_commit_message": {
49749
+ "type": "string",
49750
+ "enum": [
49751
+ "PR_BODY",
49752
+ "PR_TITLE",
49753
+ "BLANK"
49754
+ ],
49755
+ "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."
49756
+ },
49629
49757
  "has_downloads": {
49630
49758
  "description": "Whether downloads are enabled.",
49631
49759
  "default": true,