@octokit/openapi 11.1.0 → 11.1.1

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 (31) hide show
  1. package/generated/api.github.com.deref.json +17 -49
  2. package/generated/api.github.com.json +16 -49
  3. package/generated/ghec-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghec-diff-to-api.github.com.json +1 -1
  5. package/generated/ghec.deref.json +20 -52
  6. package/generated/ghec.json +19 -52
  7. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +0 -84
  8. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +1 -4574
  9. package/generated/ghes-3.5-diff-to-ghes-3.6.json +1 -674
  10. package/generated/ghes-3.5.deref.json +207 -59
  11. package/generated/ghes-3.5.json +20 -59
  12. package/generated/ghes-3.6-anicca-diff-to-ghes-3.7.deref.json +0 -48
  13. package/generated/ghes-3.6-diff-to-ghes-3.7.deref.json +1 -4738
  14. package/generated/ghes-3.6-diff-to-ghes-3.7.json +1 -683
  15. package/generated/ghes-3.6.deref.json +43 -59
  16. package/generated/ghes-3.6.json +20 -59
  17. package/generated/ghes-3.7-diff-to-ghes-3.8.deref.json +1 -1
  18. package/generated/ghes-3.7-diff-to-ghes-3.8.json +1 -1
  19. package/generated/ghes-3.7.deref.json +30 -52
  20. package/generated/ghes-3.7.json +19 -52
  21. package/generated/ghes-3.8-anicca-diff-to-api.github.com.deref.json +0 -38
  22. package/generated/ghes-3.8-diff-to-api.github.com.deref.json +1 -4748
  23. package/generated/ghes-3.8-diff-to-api.github.com.json +1 -672
  24. package/generated/ghes-3.8.deref.json +31 -59
  25. package/generated/ghes-3.8.json +20 -59
  26. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +0 -84
  27. package/generated/github.ae-diff-to-api.github.com.deref.json +1 -4594
  28. package/generated/github.ae-diff-to-api.github.com.json +1 -676
  29. package/generated/github.ae.deref.json +187 -59
  30. package/generated/github.ae.json +20 -59
  31. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "11.1.0",
4
+ "version": "11.1.1",
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": {
@@ -42798,7 +42798,7 @@
42798
42798
  "operationId": "gists/update",
42799
42799
  "externalDocs": {
42800
42800
  "description": "API method documentation",
42801
- "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/gists/#update-a-gist"
42801
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
42802
42802
  },
42803
42803
  "parameters": [
42804
42804
  {
@@ -42816,6 +42816,7 @@
42816
42816
  "content": {
42817
42817
  "application/json": {
42818
42818
  "schema": {
42819
+ "type": "object",
42819
42820
  "properties": {
42820
42821
  "description": {
42821
42822
  "description": "The description of the gist.",
@@ -42832,29 +42833,21 @@
42832
42833
  },
42833
42834
  "type": "object",
42834
42835
  "additionalProperties": {
42835
- "type": "object",
42836
- "nullable": true,
42837
- "properties": {
42838
- "content": {
42839
- "description": "The new content of the file.",
42840
- "type": "string"
42841
- },
42842
- "filename": {
42843
- "description": "The new filename for the file.",
42844
- "type": "string",
42845
- "nullable": true
42846
- }
42847
- },
42848
- "anyOf": [
42849
- {
42850
- "required": [
42851
- "content"
42852
- ]
42853
- },
42836
+ "oneOf": [
42854
42837
  {
42855
- "required": [
42856
- "filename"
42857
- ]
42838
+ "type": "object",
42839
+ "nullable": true,
42840
+ "properties": {
42841
+ "content": {
42842
+ "description": "The new content of the file.",
42843
+ "type": "string"
42844
+ },
42845
+ "filename": {
42846
+ "description": "The new filename for the file.",
42847
+ "type": "string",
42848
+ "nullable": true
42849
+ }
42850
+ }
42858
42851
  },
42859
42852
  {
42860
42853
  "type": "object",
@@ -42864,19 +42857,6 @@
42864
42857
  }
42865
42858
  }
42866
42859
  },
42867
- "anyOf": [
42868
- {
42869
- "required": [
42870
- "description"
42871
- ]
42872
- },
42873
- {
42874
- "required": [
42875
- "files"
42876
- ]
42877
- }
42878
- ],
42879
- "type": "object",
42880
42860
  "nullable": true
42881
42861
  },
42882
42862
  "examples": {
@@ -307716,14 +307696,14 @@
307716
307696
  },
307717
307697
  "post": {
307718
307698
  "summary": "Request reviewers for a pull request",
307719
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.6/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
307699
+ "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
307720
307700
  "tags": [
307721
307701
  "pulls"
307722
307702
  ],
307723
307703
  "operationId": "pulls/request-reviewers",
307724
307704
  "externalDocs": {
307725
307705
  "description": "API method documentation",
307726
- "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#request-reviewers-for-a-pull-request"
307706
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
307727
307707
  },
307728
307708
  "parameters": [
307729
307709
  {
@@ -307775,19 +307755,7 @@
307775
307755
  "type": "string"
307776
307756
  }
307777
307757
  }
307778
- },
307779
- "anyOf": [
307780
- {
307781
- "required": [
307782
- "reviewers"
307783
- ]
307784
- },
307785
- {
307786
- "required": [
307787
- "team_reviewers"
307788
- ]
307789
- }
307790
- ]
307758
+ }
307791
307759
  },
307792
307760
  "examples": {
307793
307761
  "default": {
@@ -308701,6 +308669,9 @@
308701
308669
  "privacy": {
308702
308670
  "type": "string"
308703
308671
  },
308672
+ "notification_setting": {
308673
+ "type": "string"
308674
+ },
308704
308675
  "permission": {
308705
308676
  "type": "string"
308706
308677
  },
@@ -308792,6 +308763,11 @@
308792
308763
  "type": "string",
308793
308764
  "example": "closed"
308794
308765
  },
308766
+ "notification_setting": {
308767
+ "description": "The notification setting the team has set",
308768
+ "type": "string",
308769
+ "example": "notifications_enabled"
308770
+ },
308795
308771
  "html_url": {
308796
308772
  "type": "string",
308797
308773
  "format": "uri",
@@ -309462,6 +309438,12 @@
309462
309438
  "type": "boolean",
309463
309439
  "example": true
309464
309440
  },
309441
+ "has_discussions": {
309442
+ "description": "Whether discussions are enabled.",
309443
+ "default": false,
309444
+ "type": "boolean",
309445
+ "example": true
309446
+ },
309465
309447
  "archived": {
309466
309448
  "description": "Whether the repository is archived.",
309467
309449
  "default": false,
@@ -310798,6 +310780,12 @@
310798
310780
  "type": "boolean",
310799
310781
  "example": true
310800
310782
  },
310783
+ "has_discussions": {
310784
+ "description": "Whether discussions are enabled.",
310785
+ "default": false,
310786
+ "type": "boolean",
310787
+ "example": true
310788
+ },
310801
310789
  "archived": {
310802
310790
  "description": "Whether the repository is archived.",
310803
310791
  "default": false,
@@ -312068,6 +312056,7 @@
312068
312056
  "slug": "justice-league",
312069
312057
  "description": "A great team.",
312070
312058
  "privacy": "closed",
312059
+ "notification_setting": "notifications_enabled",
312071
312060
  "permission": "admin",
312072
312061
  "members_url": "https://api.github.com/teams/1/members{/member}",
312073
312062
  "repositories_url": "https://api.github.com/teams/1/repos",
@@ -312397,6 +312386,7 @@
312397
312386
  }
312398
312387
  },
312399
312388
  "author_association": "OWNER",
312389
+ "auto_merge": null,
312400
312390
  "draft": false
312401
312391
  }
312402
312392
  }
@@ -312441,13 +312431,7 @@
312441
312431
  "category": "pulls",
312442
312432
  "subcategory": "review-requests"
312443
312433
  },
312444
- "x-octokit": {
312445
- "diff": {
312446
- "ghes-3.7": {
312447
- "type": "changed"
312448
- }
312449
- }
312450
- }
312434
+ "x-octokit": {}
312451
312435
  },
312452
312436
  "delete": {
312453
312437
  "summary": "Remove requested reviewers from a pull request",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "11.1.0",
4
+ "version": "11.1.1",
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": {
@@ -7753,7 +7753,7 @@
7753
7753
  "operationId": "gists/update",
7754
7754
  "externalDocs": {
7755
7755
  "description": "API method documentation",
7756
- "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/gists/#update-a-gist"
7756
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
7757
7757
  },
7758
7758
  "parameters": [
7759
7759
  {
@@ -7765,6 +7765,7 @@
7765
7765
  "content": {
7766
7766
  "application/json": {
7767
7767
  "schema": {
7768
+ "type": "object",
7768
7769
  "properties": {
7769
7770
  "description": {
7770
7771
  "description": "The description of the gist.",
@@ -7781,29 +7782,20 @@
7781
7782
  },
7782
7783
  "type": "object",
7783
7784
  "additionalProperties": {
7784
- "type": "object",
7785
- "nullable": true,
7786
- "properties": {
7787
- "content": {
7788
- "description": "The new content of the file.",
7789
- "type": "string"
7790
- },
7791
- "filename": {
7792
- "description": "The new filename for the file.",
7793
- "type": "string",
7794
- "nullable": true
7795
- }
7796
- },
7797
- "anyOf": [
7798
- {
7799
- "required": [
7800
- "content"
7801
- ]
7802
- },
7785
+ "oneOf": [
7803
7786
  {
7804
- "required": [
7805
- "filename"
7806
- ]
7787
+ "type": "object",
7788
+ "properties": {
7789
+ "content": {
7790
+ "description": "The new content of the file.",
7791
+ "type": "string"
7792
+ },
7793
+ "filename": {
7794
+ "description": "The new filename for the file.",
7795
+ "type": "string",
7796
+ "nullable": true
7797
+ }
7798
+ }
7807
7799
  },
7808
7800
  {
7809
7801
  "type": "object",
@@ -7813,19 +7805,6 @@
7813
7805
  }
7814
7806
  }
7815
7807
  },
7816
- "anyOf": [
7817
- {
7818
- "required": [
7819
- "description"
7820
- ]
7821
- },
7822
- {
7823
- "required": [
7824
- "files"
7825
- ]
7826
- }
7827
- ],
7828
- "type": "object",
7829
7808
  "nullable": true
7830
7809
  },
7831
7810
  "examples": {
@@ -42024,14 +42003,14 @@
42024
42003
  },
42025
42004
  "post": {
42026
42005
  "summary": "Request reviewers for a pull request",
42027
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.6/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
42006
+ "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
42028
42007
  "tags": [
42029
42008
  "pulls"
42030
42009
  ],
42031
42010
  "operationId": "pulls/request-reviewers",
42032
42011
  "externalDocs": {
42033
42012
  "description": "API method documentation",
42034
- "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#request-reviewers-for-a-pull-request"
42013
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
42035
42014
  },
42036
42015
  "parameters": [
42037
42016
  {
@@ -42065,19 +42044,7 @@
42065
42044
  "type": "string"
42066
42045
  }
42067
42046
  }
42068
- },
42069
- "anyOf": [
42070
- {
42071
- "required": [
42072
- "reviewers"
42073
- ]
42074
- },
42075
- {
42076
- "required": [
42077
- "team_reviewers"
42078
- ]
42079
- }
42080
- ]
42047
+ }
42081
42048
  },
42082
42049
  "examples": {
42083
42050
  "default": {
@@ -42126,13 +42093,7 @@
42126
42093
  "category": "pulls",
42127
42094
  "subcategory": "review-requests"
42128
42095
  },
42129
- "x-octokit": {
42130
- "diff": {
42131
- "ghes-3.7": {
42132
- "type": "changed"
42133
- }
42134
- }
42135
- }
42096
+ "x-octokit": {}
42136
42097
  },
42137
42098
  "delete": {
42138
42099
  "summary": "Remove requested reviewers from a pull request",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "11.1.0",
4
+ "version": "11.1.1",
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": "11.1.0",
4
+ "version": "11.1.1",
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": "11.1.0",
4
+ "version": "11.1.1",
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": {
@@ -44099,7 +44099,7 @@
44099
44099
  "operationId": "gists/update",
44100
44100
  "externalDocs": {
44101
44101
  "description": "API method documentation",
44102
- "url": "https://docs.github.com/enterprise-server@3.7/rest/reference/gists/#update-a-gist"
44102
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
44103
44103
  },
44104
44104
  "parameters": [
44105
44105
  {
@@ -44117,6 +44117,7 @@
44117
44117
  "content": {
44118
44118
  "application/json": {
44119
44119
  "schema": {
44120
+ "type": "object",
44120
44121
  "properties": {
44121
44122
  "description": {
44122
44123
  "description": "The description of the gist.",
@@ -44133,29 +44134,21 @@
44133
44134
  },
44134
44135
  "type": "object",
44135
44136
  "additionalProperties": {
44136
- "type": "object",
44137
- "nullable": true,
44138
- "properties": {
44139
- "content": {
44140
- "description": "The new content of the file.",
44141
- "type": "string"
44142
- },
44143
- "filename": {
44144
- "description": "The new filename for the file.",
44145
- "type": "string",
44146
- "nullable": true
44147
- }
44148
- },
44149
- "anyOf": [
44150
- {
44151
- "required": [
44152
- "content"
44153
- ]
44154
- },
44137
+ "oneOf": [
44155
44138
  {
44156
- "required": [
44157
- "filename"
44158
- ]
44139
+ "type": "object",
44140
+ "nullable": true,
44141
+ "properties": {
44142
+ "content": {
44143
+ "description": "The new content of the file.",
44144
+ "type": "string"
44145
+ },
44146
+ "filename": {
44147
+ "description": "The new filename for the file.",
44148
+ "type": "string",
44149
+ "nullable": true
44150
+ }
44151
+ }
44159
44152
  },
44160
44153
  {
44161
44154
  "type": "object",
@@ -44165,19 +44158,6 @@
44165
44158
  }
44166
44159
  }
44167
44160
  },
44168
- "anyOf": [
44169
- {
44170
- "required": [
44171
- "description"
44172
- ]
44173
- },
44174
- {
44175
- "required": [
44176
- "files"
44177
- ]
44178
- }
44179
- ],
44180
- "type": "object",
44181
44161
  "nullable": true
44182
44162
  },
44183
44163
  "examples": {
@@ -311400,14 +311380,14 @@
311400
311380
  },
311401
311381
  "post": {
311402
311382
  "summary": "Request reviewers for a pull request",
311403
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.7/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.7/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.7/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
311383
+ "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
311404
311384
  "tags": [
311405
311385
  "pulls"
311406
311386
  ],
311407
311387
  "operationId": "pulls/request-reviewers",
311408
311388
  "externalDocs": {
311409
311389
  "description": "API method documentation",
311410
- "url": "https://docs.github.com/enterprise-server@3.7/rest/reference/pulls#request-reviewers-for-a-pull-request"
311390
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
311411
311391
  },
311412
311392
  "parameters": [
311413
311393
  {
@@ -311459,19 +311439,7 @@
311459
311439
  "type": "string"
311460
311440
  }
311461
311441
  }
311462
- },
311463
- "anyOf": [
311464
- {
311465
- "required": [
311466
- "reviewers"
311467
- ]
311468
- },
311469
- {
311470
- "required": [
311471
- "team_reviewers"
311472
- ]
311473
- }
311474
- ]
311442
+ }
311475
311443
  },
311476
311444
  "examples": {
311477
311445
  "default": {
@@ -312385,6 +312353,9 @@
312385
312353
  "privacy": {
312386
312354
  "type": "string"
312387
312355
  },
312356
+ "notification_setting": {
312357
+ "type": "string"
312358
+ },
312388
312359
  "permission": {
312389
312360
  "type": "string"
312390
312361
  },
@@ -312476,6 +312447,11 @@
312476
312447
  "type": "string",
312477
312448
  "example": "closed"
312478
312449
  },
312450
+ "notification_setting": {
312451
+ "description": "The notification setting the team has set",
312452
+ "type": "string",
312453
+ "example": "notifications_enabled"
312454
+ },
312479
312455
  "html_url": {
312480
312456
  "type": "string",
312481
312457
  "format": "uri",
@@ -315764,6 +315740,7 @@
315764
315740
  "slug": "justice-league",
315765
315741
  "description": "A great team.",
315766
315742
  "privacy": "closed",
315743
+ "notification_setting": "notifications_enabled",
315767
315744
  "permission": "admin",
315768
315745
  "members_url": "https://api.github.com/teams/1/members{/member}",
315769
315746
  "repositories_url": "https://api.github.com/teams/1/repos",
@@ -316093,6 +316070,7 @@
316093
316070
  }
316094
316071
  },
316095
316072
  "author_association": "OWNER",
316073
+ "auto_merge": null,
316096
316074
  "draft": false
316097
316075
  }
316098
316076
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "11.1.0",
4
+ "version": "11.1.1",
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": {
@@ -7912,7 +7912,7 @@
7912
7912
  "operationId": "gists/update",
7913
7913
  "externalDocs": {
7914
7914
  "description": "API method documentation",
7915
- "url": "https://docs.github.com/enterprise-server@3.7/rest/reference/gists/#update-a-gist"
7915
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
7916
7916
  },
7917
7917
  "parameters": [
7918
7918
  {
@@ -7924,6 +7924,7 @@
7924
7924
  "content": {
7925
7925
  "application/json": {
7926
7926
  "schema": {
7927
+ "type": "object",
7927
7928
  "properties": {
7928
7929
  "description": {
7929
7930
  "description": "The description of the gist.",
@@ -7940,29 +7941,20 @@
7940
7941
  },
7941
7942
  "type": "object",
7942
7943
  "additionalProperties": {
7943
- "type": "object",
7944
- "nullable": true,
7945
- "properties": {
7946
- "content": {
7947
- "description": "The new content of the file.",
7948
- "type": "string"
7949
- },
7950
- "filename": {
7951
- "description": "The new filename for the file.",
7952
- "type": "string",
7953
- "nullable": true
7954
- }
7955
- },
7956
- "anyOf": [
7957
- {
7958
- "required": [
7959
- "content"
7960
- ]
7961
- },
7944
+ "oneOf": [
7962
7945
  {
7963
- "required": [
7964
- "filename"
7965
- ]
7946
+ "type": "object",
7947
+ "properties": {
7948
+ "content": {
7949
+ "description": "The new content of the file.",
7950
+ "type": "string"
7951
+ },
7952
+ "filename": {
7953
+ "description": "The new filename for the file.",
7954
+ "type": "string",
7955
+ "nullable": true
7956
+ }
7957
+ }
7966
7958
  },
7967
7959
  {
7968
7960
  "type": "object",
@@ -7972,19 +7964,6 @@
7972
7964
  }
7973
7965
  }
7974
7966
  },
7975
- "anyOf": [
7976
- {
7977
- "required": [
7978
- "description"
7979
- ]
7980
- },
7981
- {
7982
- "required": [
7983
- "files"
7984
- ]
7985
- }
7986
- ],
7987
- "type": "object",
7988
7967
  "nullable": true
7989
7968
  },
7990
7969
  "examples": {
@@ -42898,14 +42877,14 @@
42898
42877
  },
42899
42878
  "post": {
42900
42879
  "summary": "Request reviewers for a pull request",
42901
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.7/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.7/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.7/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
42880
+ "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
42902
42881
  "tags": [
42903
42882
  "pulls"
42904
42883
  ],
42905
42884
  "operationId": "pulls/request-reviewers",
42906
42885
  "externalDocs": {
42907
42886
  "description": "API method documentation",
42908
- "url": "https://docs.github.com/enterprise-server@3.7/rest/reference/pulls#request-reviewers-for-a-pull-request"
42887
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
42909
42888
  },
42910
42889
  "parameters": [
42911
42890
  {
@@ -42939,19 +42918,7 @@
42939
42918
  "type": "string"
42940
42919
  }
42941
42920
  }
42942
- },
42943
- "anyOf": [
42944
- {
42945
- "required": [
42946
- "reviewers"
42947
- ]
42948
- },
42949
- {
42950
- "required": [
42951
- "team_reviewers"
42952
- ]
42953
- }
42954
- ]
42921
+ }
42955
42922
  },
42956
42923
  "examples": {
42957
42924
  "default": {