@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": {
@@ -22858,6 +22858,7 @@
22858
22858
  "content": {
22859
22859
  "application/json": {
22860
22860
  "schema": {
22861
+ "type": "object",
22861
22862
  "properties": {
22862
22863
  "description": {
22863
22864
  "description": "The description of the gist.",
@@ -22886,39 +22887,10 @@
22886
22887
  "type": "string",
22887
22888
  "nullable": true
22888
22889
  }
22889
- },
22890
- "anyOf": [
22891
- {
22892
- "required": [
22893
- "content"
22894
- ]
22895
- },
22896
- {
22897
- "required": [
22898
- "filename"
22899
- ]
22900
- },
22901
- {
22902
- "type": "object",
22903
- "maxProperties": 0
22904
- }
22905
- ]
22890
+ }
22906
22891
  }
22907
22892
  }
22908
22893
  },
22909
- "anyOf": [
22910
- {
22911
- "required": [
22912
- "description"
22913
- ]
22914
- },
22915
- {
22916
- "required": [
22917
- "files"
22918
- ]
22919
- }
22920
- ],
22921
- "type": "object",
22922
22894
  "nullable": true
22923
22895
  },
22924
22896
  "examples": {
@@ -343224,19 +343196,7 @@
343224
343196
  "type": "string"
343225
343197
  }
343226
343198
  }
343227
- },
343228
- "anyOf": [
343229
- {
343230
- "required": [
343231
- "reviewers"
343232
- ]
343233
- },
343234
- {
343235
- "required": [
343236
- "team_reviewers"
343237
- ]
343238
- }
343239
- ]
343199
+ }
343240
343200
  },
343241
343201
  "examples": {
343242
343202
  "default": {
@@ -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": {
@@ -2189,6 +2189,7 @@
2189
2189
  "content": {
2190
2190
  "application/json": {
2191
2191
  "schema": {
2192
+ "type": "object",
2192
2193
  "properties": {
2193
2194
  "description": {
2194
2195
  "description": "The description of the gist.",
@@ -2206,7 +2207,6 @@
2206
2207
  "type": "object",
2207
2208
  "additionalProperties": {
2208
2209
  "type": "object",
2209
- "nullable": true,
2210
2210
  "properties": {
2211
2211
  "content": {
2212
2212
  "description": "The new content of the file.",
@@ -2217,39 +2217,10 @@
2217
2217
  "type": "string",
2218
2218
  "nullable": true
2219
2219
  }
2220
- },
2221
- "anyOf": [
2222
- {
2223
- "required": [
2224
- "content"
2225
- ]
2226
- },
2227
- {
2228
- "required": [
2229
- "filename"
2230
- ]
2231
- },
2232
- {
2233
- "type": "object",
2234
- "maxProperties": 0
2235
- }
2236
- ]
2220
+ }
2237
2221
  }
2238
2222
  }
2239
2223
  },
2240
- "anyOf": [
2241
- {
2242
- "required": [
2243
- "description"
2244
- ]
2245
- },
2246
- {
2247
- "required": [
2248
- "files"
2249
- ]
2250
- }
2251
- ],
2252
- "type": "object",
2253
2224
  "nullable": true
2254
2225
  },
2255
2226
  "examples": {
@@ -44086,19 +44057,7 @@
44086
44057
  "type": "string"
44087
44058
  }
44088
44059
  }
44089
- },
44090
- "anyOf": [
44091
- {
44092
- "required": [
44093
- "reviewers"
44094
- ]
44095
- },
44096
- {
44097
- "required": [
44098
- "team_reviewers"
44099
- ]
44100
- }
44101
- ]
44060
+ }
44102
44061
  },
44103
44062
  "examples": {
44104
44063
  "default": {
@@ -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": {
@@ -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": {
@@ -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": {
@@ -32849,7 +32849,7 @@
32849
32849
  "operationId": "gists/update",
32850
32850
  "externalDocs": {
32851
32851
  "description": "API method documentation",
32852
- "url": "https://docs.github.com/enterprise-cloud@latest//rest/reference/gists/#update-a-gist"
32852
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
32853
32853
  },
32854
32854
  "parameters": [
32855
32855
  {
@@ -32867,6 +32867,7 @@
32867
32867
  "content": {
32868
32868
  "application/json": {
32869
32869
  "schema": {
32870
+ "type": "object",
32870
32871
  "properties": {
32871
32872
  "description": {
32872
32873
  "description": "The description of the gist.",
@@ -32895,39 +32896,10 @@
32895
32896
  "type": "string",
32896
32897
  "nullable": true
32897
32898
  }
32898
- },
32899
- "anyOf": [
32900
- {
32901
- "required": [
32902
- "content"
32903
- ]
32904
- },
32905
- {
32906
- "required": [
32907
- "filename"
32908
- ]
32909
- },
32910
- {
32911
- "type": "object",
32912
- "maxProperties": 0
32913
- }
32914
- ]
32899
+ }
32915
32900
  }
32916
32901
  }
32917
32902
  },
32918
- "anyOf": [
32919
- {
32920
- "required": [
32921
- "description"
32922
- ]
32923
- },
32924
- {
32925
- "required": [
32926
- "files"
32927
- ]
32928
- }
32929
- ],
32930
- "type": "object",
32931
32903
  "nullable": true
32932
32904
  },
32933
32905
  "examples": {
@@ -360893,14 +360865,14 @@
360893
360865
  },
360894
360866
  "post": {
360895
360867
  "summary": "Request reviewers for a pull request",
360896
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//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-cloud@latest//rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
360868
+ "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.",
360897
360869
  "tags": [
360898
360870
  "pulls"
360899
360871
  ],
360900
360872
  "operationId": "pulls/request-reviewers",
360901
360873
  "externalDocs": {
360902
360874
  "description": "API method documentation",
360903
- "url": "https://docs.github.com/enterprise-cloud@latest//rest/reference/pulls#request-reviewers-for-a-pull-request"
360875
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
360904
360876
  },
360905
360877
  "parameters": [
360906
360878
  {
@@ -360952,19 +360924,7 @@
360952
360924
  "type": "string"
360953
360925
  }
360954
360926
  }
360955
- },
360956
- "anyOf": [
360957
- {
360958
- "required": [
360959
- "reviewers"
360960
- ]
360961
- },
360962
- {
360963
- "required": [
360964
- "team_reviewers"
360965
- ]
360966
- }
360967
- ]
360927
+ }
360968
360928
  },
360969
360929
  "examples": {
360970
360930
  "default": {
@@ -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": {
@@ -5182,7 +5182,7 @@
5182
5182
  "operationId": "gists/update",
5183
5183
  "externalDocs": {
5184
5184
  "description": "API method documentation",
5185
- "url": "https://docs.github.com/enterprise-cloud@latest//rest/reference/gists/#update-a-gist"
5185
+ "url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
5186
5186
  },
5187
5187
  "parameters": [
5188
5188
  {
@@ -5194,6 +5194,7 @@
5194
5194
  "content": {
5195
5195
  "application/json": {
5196
5196
  "schema": {
5197
+ "type": "object",
5197
5198
  "properties": {
5198
5199
  "description": {
5199
5200
  "description": "The description of the gist.",
@@ -5211,7 +5212,6 @@
5211
5212
  "type": "object",
5212
5213
  "additionalProperties": {
5213
5214
  "type": "object",
5214
- "nullable": true,
5215
5215
  "properties": {
5216
5216
  "content": {
5217
5217
  "description": "The new content of the file.",
@@ -5222,39 +5222,10 @@
5222
5222
  "type": "string",
5223
5223
  "nullable": true
5224
5224
  }
5225
- },
5226
- "anyOf": [
5227
- {
5228
- "required": [
5229
- "content"
5230
- ]
5231
- },
5232
- {
5233
- "required": [
5234
- "filename"
5235
- ]
5236
- },
5237
- {
5238
- "type": "object",
5239
- "maxProperties": 0
5240
- }
5241
- ]
5225
+ }
5242
5226
  }
5243
5227
  }
5244
5228
  },
5245
- "anyOf": [
5246
- {
5247
- "required": [
5248
- "description"
5249
- ]
5250
- },
5251
- {
5252
- "required": [
5253
- "files"
5254
- ]
5255
- }
5256
- ],
5257
- "type": "object",
5258
5229
  "nullable": true
5259
5230
  },
5260
5231
  "examples": {
@@ -49600,14 +49571,14 @@
49600
49571
  },
49601
49572
  "post": {
49602
49573
  "summary": "Request reviewers for a pull request",
49603
- "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-cloud@latest//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-cloud@latest//rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
49574
+ "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.",
49604
49575
  "tags": [
49605
49576
  "pulls"
49606
49577
  ],
49607
49578
  "operationId": "pulls/request-reviewers",
49608
49579
  "externalDocs": {
49609
49580
  "description": "API method documentation",
49610
- "url": "https://docs.github.com/enterprise-cloud@latest//rest/reference/pulls#request-reviewers-for-a-pull-request"
49581
+ "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
49611
49582
  },
49612
49583
  "parameters": [
49613
49584
  {
@@ -49641,19 +49612,7 @@
49641
49612
  "type": "string"
49642
49613
  }
49643
49614
  }
49644
- },
49645
- "anyOf": [
49646
- {
49647
- "required": [
49648
- "reviewers"
49649
- ]
49650
- },
49651
- {
49652
- "required": [
49653
- "team_reviewers"
49654
- ]
49655
- }
49656
- ]
49615
+ }
49657
49616
  },
49658
49617
  "examples": {
49659
49618
  "default": {
@@ -3202,90 +3202,6 @@
3202
3202
  }
3203
3203
  }
3204
3204
  },
3205
- "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
3206
- "post": {
3207
- "responses": {
3208
- "changed": {
3209
- "201": {
3210
- "content": {
3211
- "changed": {
3212
- "application/json": {
3213
- "schema_changed": {
3214
- "properties_changed": {
3215
- "changed": {
3216
- "base": {
3217
- "properties_changed": {
3218
- "changed": {
3219
- "repo": {
3220
- "properties_changed": {
3221
- "changed": {
3222
- "template_repository": {
3223
- "properties_changed": {
3224
- "removed": [
3225
- "merge_commit_message",
3226
- "merge_commit_title",
3227
- "squash_merge_commit_message",
3228
- "squash_merge_commit_title",
3229
- "use_squash_pr_title_as_default"
3230
- ]
3231
- }
3232
- }
3233
- },
3234
- "removed": [
3235
- "merge_commit_message",
3236
- "merge_commit_title",
3237
- "squash_merge_commit_message",
3238
- "squash_merge_commit_title",
3239
- "use_squash_pr_title_as_default",
3240
- "web_commit_signoff_required"
3241
- ]
3242
- }
3243
- }
3244
- }
3245
- }
3246
- },
3247
- "head": {
3248
- "properties_changed": {
3249
- "changed": {
3250
- "repo": {
3251
- "properties_changed": {
3252
- "changed": {
3253
- "template_repository": {
3254
- "properties_changed": {
3255
- "removed": [
3256
- "merge_commit_message",
3257
- "merge_commit_title",
3258
- "squash_merge_commit_message",
3259
- "squash_merge_commit_title",
3260
- "use_squash_pr_title_as_default"
3261
- ]
3262
- }
3263
- }
3264
- },
3265
- "removed": [
3266
- "merge_commit_message",
3267
- "merge_commit_title",
3268
- "squash_merge_commit_message",
3269
- "squash_merge_commit_title",
3270
- "use_squash_pr_title_as_default",
3271
- "web_commit_signoff_required"
3272
- ]
3273
- }
3274
- }
3275
- }
3276
- }
3277
- }
3278
- }
3279
- }
3280
- }
3281
- }
3282
- }
3283
- }
3284
- }
3285
- }
3286
- }
3287
- }
3288
- },
3289
3205
  "/repos/{owner}/{repo}/secret-scanning/alerts": {
3290
3206
  "get": {
3291
3207
  "parameters": {