@octokit/openapi 11.1.0 → 11.1.2

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 +4 -44
  2. package/generated/api.github.com.json +4 -45
  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 +7 -47
  6. package/generated/ghec.json +7 -48
  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 +194 -54
  11. package/generated/ghes-3.5.json +8 -55
  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 +30 -54
  16. package/generated/ghes-3.6.json +8 -55
  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 +17 -47
  20. package/generated/ghes-3.7.json +7 -48
  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 +18 -54
  25. package/generated/ghes-3.8.json +8 -55
  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 +174 -54
  30. package/generated/github.ae.json +8 -55
  31. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "11.1.0",
4
+ "version": "11.1.2",
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": {
@@ -46711,7 +46711,7 @@
46711
46711
  "operationId": "gists/update",
46712
46712
  "externalDocs": {
46713
46713
  "description": "API method documentation",
46714
- "url": "https://docs.github.com/enterprise-server@3.8/rest/reference/gists/#update-a-gist"
46714
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
46715
46715
  },
46716
46716
  "parameters": [
46717
46717
  {
@@ -46729,6 +46729,7 @@
46729
46729
  "content": {
46730
46730
  "application/json": {
46731
46731
  "schema": {
46732
+ "type": "object",
46732
46733
  "properties": {
46733
46734
  "description": {
46734
46735
  "description": "The description of the gist.",
@@ -46757,39 +46758,10 @@
46757
46758
  "type": "string",
46758
46759
  "nullable": true
46759
46760
  }
46760
- },
46761
- "anyOf": [
46762
- {
46763
- "required": [
46764
- "content"
46765
- ]
46766
- },
46767
- {
46768
- "required": [
46769
- "filename"
46770
- ]
46771
- },
46772
- {
46773
- "type": "object",
46774
- "maxProperties": 0
46775
- }
46776
- ]
46761
+ }
46777
46762
  }
46778
46763
  }
46779
46764
  },
46780
- "anyOf": [
46781
- {
46782
- "required": [
46783
- "description"
46784
- ]
46785
- },
46786
- {
46787
- "required": [
46788
- "files"
46789
- ]
46790
- }
46791
- ],
46792
- "type": "object",
46793
46765
  "nullable": true
46794
46766
  },
46795
46767
  "examples": {
@@ -331797,14 +331769,14 @@
331797
331769
  },
331798
331770
  "post": {
331799
331771
  "summary": "Request reviewers for a pull request",
331800
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.8/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.8/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.8/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
331772
+ "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.",
331801
331773
  "tags": [
331802
331774
  "pulls"
331803
331775
  ],
331804
331776
  "operationId": "pulls/request-reviewers",
331805
331777
  "externalDocs": {
331806
331778
  "description": "API method documentation",
331807
- "url": "https://docs.github.com/enterprise-server@3.8/rest/reference/pulls#request-reviewers-for-a-pull-request"
331779
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
331808
331780
  },
331809
331781
  "parameters": [
331810
331782
  {
@@ -331856,19 +331828,7 @@
331856
331828
  "type": "string"
331857
331829
  }
331858
331830
  }
331859
- },
331860
- "anyOf": [
331861
- {
331862
- "required": [
331863
- "reviewers"
331864
- ]
331865
- },
331866
- {
331867
- "required": [
331868
- "team_reviewers"
331869
- ]
331870
- }
331871
- ]
331831
+ }
331872
331832
  },
331873
331833
  "examples": {
331874
331834
  "default": {
@@ -332782,6 +332742,9 @@
332782
332742
  "privacy": {
332783
332743
  "type": "string"
332784
332744
  },
332745
+ "notification_setting": {
332746
+ "type": "string"
332747
+ },
332785
332748
  "permission": {
332786
332749
  "type": "string"
332787
332750
  },
@@ -332873,6 +332836,11 @@
332873
332836
  "type": "string",
332874
332837
  "example": "closed"
332875
332838
  },
332839
+ "notification_setting": {
332840
+ "description": "The notification setting the team has set",
332841
+ "type": "string",
332842
+ "example": "notifications_enabled"
332843
+ },
332876
332844
  "html_url": {
332877
332845
  "type": "string",
332878
332846
  "format": "uri",
@@ -336161,6 +336129,7 @@
336161
336129
  "slug": "justice-league",
336162
336130
  "description": "A great team.",
336163
336131
  "privacy": "closed",
336132
+ "notification_setting": "notifications_enabled",
336164
336133
  "permission": "admin",
336165
336134
  "members_url": "https://api.github.com/teams/1/members{/member}",
336166
336135
  "repositories_url": "https://api.github.com/teams/1/repos",
@@ -336490,6 +336459,7 @@
336490
336459
  }
336491
336460
  },
336492
336461
  "author_association": "OWNER",
336462
+ "auto_merge": null,
336493
336463
  "draft": false
336494
336464
  }
336495
336465
  }
@@ -336534,13 +336504,7 @@
336534
336504
  "category": "pulls",
336535
336505
  "subcategory": "review-requests"
336536
336506
  },
336537
- "x-octokit": {
336538
- "diff": {
336539
- "api.github.com": {
336540
- "type": "changed"
336541
- }
336542
- }
336543
- }
336507
+ "x-octokit": {}
336544
336508
  },
336545
336509
  "delete": {
336546
336510
  "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.2",
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": {
@@ -8709,7 +8709,7 @@
8709
8709
  "operationId": "gists/update",
8710
8710
  "externalDocs": {
8711
8711
  "description": "API method documentation",
8712
- "url": "https://docs.github.com/enterprise-server@3.8/rest/reference/gists/#update-a-gist"
8712
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
8713
8713
  },
8714
8714
  "parameters": [
8715
8715
  {
@@ -8721,6 +8721,7 @@
8721
8721
  "content": {
8722
8722
  "application/json": {
8723
8723
  "schema": {
8724
+ "type": "object",
8724
8725
  "properties": {
8725
8726
  "description": {
8726
8727
  "description": "The description of the gist.",
@@ -8738,7 +8739,6 @@
8738
8739
  "type": "object",
8739
8740
  "additionalProperties": {
8740
8741
  "type": "object",
8741
- "nullable": true,
8742
8742
  "properties": {
8743
8743
  "content": {
8744
8744
  "description": "The new content of the file.",
@@ -8749,39 +8749,10 @@
8749
8749
  "type": "string",
8750
8750
  "nullable": true
8751
8751
  }
8752
- },
8753
- "anyOf": [
8754
- {
8755
- "required": [
8756
- "content"
8757
- ]
8758
- },
8759
- {
8760
- "required": [
8761
- "filename"
8762
- ]
8763
- },
8764
- {
8765
- "type": "object",
8766
- "maxProperties": 0
8767
- }
8768
- ]
8752
+ }
8769
8753
  }
8770
8754
  }
8771
8755
  },
8772
- "anyOf": [
8773
- {
8774
- "required": [
8775
- "description"
8776
- ]
8777
- },
8778
- {
8779
- "required": [
8780
- "files"
8781
- ]
8782
- }
8783
- ],
8784
- "type": "object",
8785
8756
  "nullable": true
8786
8757
  },
8787
8758
  "examples": {
@@ -46142,14 +46113,14 @@
46142
46113
  },
46143
46114
  "post": {
46144
46115
  "summary": "Request reviewers for a pull request",
46145
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.8/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.8/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.8/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
46116
+ "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.",
46146
46117
  "tags": [
46147
46118
  "pulls"
46148
46119
  ],
46149
46120
  "operationId": "pulls/request-reviewers",
46150
46121
  "externalDocs": {
46151
46122
  "description": "API method documentation",
46152
- "url": "https://docs.github.com/enterprise-server@3.8/rest/reference/pulls#request-reviewers-for-a-pull-request"
46123
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
46153
46124
  },
46154
46125
  "parameters": [
46155
46126
  {
@@ -46183,19 +46154,7 @@
46183
46154
  "type": "string"
46184
46155
  }
46185
46156
  }
46186
- },
46187
- "anyOf": [
46188
- {
46189
- "required": [
46190
- "reviewers"
46191
- ]
46192
- },
46193
- {
46194
- "required": [
46195
- "team_reviewers"
46196
- ]
46197
- }
46198
- ]
46157
+ }
46199
46158
  },
46200
46159
  "examples": {
46201
46160
  "default": {
@@ -46244,13 +46203,7 @@
46244
46203
  "category": "pulls",
46245
46204
  "subcategory": "review-requests"
46246
46205
  },
46247
- "x-octokit": {
46248
- "diff": {
46249
- "api.github.com": {
46250
- "type": "changed"
46251
- }
46252
- }
46253
- }
46206
+ "x-octokit": {}
46254
46207
  },
46255
46208
  "delete": {
46256
46209
  "summary": "Remove requested reviewers from a pull request",
@@ -16842,90 +16842,6 @@
16842
16842
  }
16843
16843
  }
16844
16844
  },
16845
- "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
16846
- "post": {
16847
- "responses": {
16848
- "changed": {
16849
- "201": {
16850
- "content": {
16851
- "changed": {
16852
- "application/json": {
16853
- "schema_changed": {
16854
- "properties_changed": {
16855
- "changed": {
16856
- "base": {
16857
- "properties_changed": {
16858
- "changed": {
16859
- "repo": {
16860
- "properties_changed": {
16861
- "changed": {
16862
- "template_repository": {
16863
- "properties_changed": {
16864
- "removed": [
16865
- "merge_commit_message",
16866
- "merge_commit_title",
16867
- "squash_merge_commit_message",
16868
- "squash_merge_commit_title",
16869
- "use_squash_pr_title_as_default"
16870
- ]
16871
- }
16872
- }
16873
- },
16874
- "removed": [
16875
- "has_discussions",
16876
- "merge_commit_message",
16877
- "merge_commit_title",
16878
- "squash_merge_commit_message",
16879
- "squash_merge_commit_title",
16880
- "use_squash_pr_title_as_default"
16881
- ]
16882
- }
16883
- }
16884
- }
16885
- }
16886
- },
16887
- "head": {
16888
- "properties_changed": {
16889
- "changed": {
16890
- "repo": {
16891
- "properties_changed": {
16892
- "changed": {
16893
- "template_repository": {
16894
- "properties_changed": {
16895
- "removed": [
16896
- "merge_commit_message",
16897
- "merge_commit_title",
16898
- "squash_merge_commit_message",
16899
- "squash_merge_commit_title",
16900
- "use_squash_pr_title_as_default"
16901
- ]
16902
- }
16903
- }
16904
- },
16905
- "removed": [
16906
- "has_discussions",
16907
- "merge_commit_message",
16908
- "merge_commit_title",
16909
- "squash_merge_commit_message",
16910
- "squash_merge_commit_title",
16911
- "use_squash_pr_title_as_default"
16912
- ]
16913
- }
16914
- }
16915
- }
16916
- }
16917
- }
16918
- }
16919
- }
16920
- }
16921
- }
16922
- }
16923
- }
16924
- }
16925
- }
16926
- }
16927
- }
16928
- },
16929
16845
  "/repos/{owner}/{repo}/releases": {
16930
16846
  "post": {
16931
16847
  "request_body": {