@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": {
@@ -13812,6 +13812,40 @@
13812
13812
  "type": "boolean",
13813
13813
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
13814
13814
  "default": false
13815
+ },
13816
+ "squash_merge_commit_title": {
13817
+ "type": "string",
13818
+ "enum": [
13819
+ "PR_TITLE",
13820
+ "COMMIT_OR_PR_TITLE"
13821
+ ],
13822
+ "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)."
13823
+ },
13824
+ "squash_merge_commit_message": {
13825
+ "type": "string",
13826
+ "enum": [
13827
+ "PR_BODY",
13828
+ "COMMIT_MESSAGES",
13829
+ "BLANK"
13830
+ ],
13831
+ "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."
13832
+ },
13833
+ "merge_commit_title": {
13834
+ "type": "string",
13835
+ "enum": [
13836
+ "PR_TITLE",
13837
+ "MERGE_MESSAGE"
13838
+ ],
13839
+ "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)."
13840
+ },
13841
+ "merge_commit_message": {
13842
+ "type": "string",
13843
+ "enum": [
13844
+ "PR_BODY",
13845
+ "PR_TITLE",
13846
+ "BLANK"
13847
+ ],
13848
+ "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."
13815
13849
  }
13816
13850
  },
13817
13851
  "required": [
@@ -17993,6 +18027,40 @@
17993
18027
  "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
17994
18028
  "default": false
17995
18029
  },
18030
+ "squash_merge_commit_title": {
18031
+ "type": "string",
18032
+ "enum": [
18033
+ "PR_TITLE",
18034
+ "COMMIT_OR_PR_TITLE"
18035
+ ],
18036
+ "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)."
18037
+ },
18038
+ "squash_merge_commit_message": {
18039
+ "type": "string",
18040
+ "enum": [
18041
+ "PR_BODY",
18042
+ "COMMIT_MESSAGES",
18043
+ "BLANK"
18044
+ ],
18045
+ "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."
18046
+ },
18047
+ "merge_commit_title": {
18048
+ "type": "string",
18049
+ "enum": [
18050
+ "PR_TITLE",
18051
+ "MERGE_MESSAGE"
18052
+ ],
18053
+ "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)."
18054
+ },
18055
+ "merge_commit_message": {
18056
+ "type": "string",
18057
+ "enum": [
18058
+ "PR_BODY",
18059
+ "PR_TITLE",
18060
+ "BLANK"
18061
+ ],
18062
+ "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."
18063
+ },
17996
18064
  "archived": {
17997
18065
  "type": "boolean",
17998
18066
  "description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
@@ -19266,9 +19334,12 @@
19266
19334
  "content": {
19267
19335
  "application/json": {
19268
19336
  "schema": {
19269
- "type": "object",
19270
- "properties": {},
19271
- "additionalProperties": false
19337
+ "$ref": "#/components/schemas/empty-object"
19338
+ },
19339
+ "examples": {
19340
+ "default": {
19341
+ "value": null
19342
+ }
19272
19343
  }
19273
19344
  }
19274
19345
  }
@@ -19573,6 +19644,17 @@
19573
19644
  "state",
19574
19645
  "comment"
19575
19646
  ]
19647
+ },
19648
+ "examples": {
19649
+ "default": {
19650
+ "value": {
19651
+ "environment_ids": [
19652
+ 161171787
19653
+ ],
19654
+ "state": "approved",
19655
+ "comment": "Ship it!"
19656
+ }
19657
+ }
19576
19658
  }
19577
19659
  }
19578
19660
  }
@@ -19636,6 +19718,11 @@
19636
19718
  "schema": {
19637
19719
  "type": "object",
19638
19720
  "nullable": true
19721
+ },
19722
+ "examples": {
19723
+ "default": {
19724
+ "value": null
19725
+ }
19639
19726
  }
19640
19727
  }
19641
19728
  }
@@ -19646,9 +19733,12 @@
19646
19733
  "content": {
19647
19734
  "application/json": {
19648
19735
  "schema": {
19649
- "type": "object",
19650
- "properties": {},
19651
- "additionalProperties": false
19736
+ "$ref": "#/components/schemas/empty-object"
19737
+ },
19738
+ "examples": {
19739
+ "default": {
19740
+ "value": null
19741
+ }
19652
19742
  }
19653
19743
  }
19654
19744
  }
@@ -19886,9 +19976,12 @@
19886
19976
  "content": {
19887
19977
  "application/json": {
19888
19978
  "schema": {
19889
- "type": "object",
19890
- "properties": {},
19891
- "additionalProperties": false
19979
+ "$ref": "#/components/schemas/empty-object"
19980
+ },
19981
+ "examples": {
19982
+ "default": {
19983
+ "value": null
19984
+ }
19892
19985
  }
19893
19986
  }
19894
19987
  }
@@ -47287,6 +47380,40 @@
47287
47380
  "type": "boolean",
47288
47381
  "example": false
47289
47382
  },
47383
+ "squash_merge_commit_title": {
47384
+ "type": "string",
47385
+ "enum": [
47386
+ "PR_TITLE",
47387
+ "COMMIT_OR_PR_TITLE"
47388
+ ],
47389
+ "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)."
47390
+ },
47391
+ "squash_merge_commit_message": {
47392
+ "type": "string",
47393
+ "enum": [
47394
+ "PR_BODY",
47395
+ "COMMIT_MESSAGES",
47396
+ "BLANK"
47397
+ ],
47398
+ "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."
47399
+ },
47400
+ "merge_commit_title": {
47401
+ "type": "string",
47402
+ "enum": [
47403
+ "PR_TITLE",
47404
+ "MERGE_MESSAGE"
47405
+ ],
47406
+ "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)."
47407
+ },
47408
+ "merge_commit_message": {
47409
+ "type": "string",
47410
+ "enum": [
47411
+ "PR_BODY",
47412
+ "PR_TITLE",
47413
+ "BLANK"
47414
+ ],
47415
+ "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."
47416
+ },
47290
47417
  "has_downloads": {
47291
47418
  "description": "Whether downloads are enabled.",
47292
47419
  "default": true,
@@ -51378,6 +51505,14 @@
51378
51505
  "write"
51379
51506
  ]
51380
51507
  },
51508
+ "organization_custom_roles": {
51509
+ "type": "string",
51510
+ "description": "The level of permission to grant the access token for custom roles management.",
51511
+ "enum": [
51512
+ "read",
51513
+ "write"
51514
+ ]
51515
+ },
51381
51516
  "deployments": {
51382
51517
  "type": "string",
51383
51518
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -81753,7 +81888,6 @@
81753
81888
  "node_id": "MDc6TGljZW5zZW1pdA==",
81754
81889
  "html_url": "https://github.com/licenses/mit"
81755
81890
  },
81756
- "language": null,
81757
81891
  "forks_count": 9,
81758
81892
  "forks": 9,
81759
81893
  "stargazers_count": 80,
@@ -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": {
@@ -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": {