@octokit/openapi 7.11.0 → 7.12.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 +87 -32
  2. package/generated/api.github.com.json +62 -25
  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 +32 -14
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +22 -13
  7. package/generated/ghes-3.2.deref.json +61 -27
  8. package/generated/ghes-3.2.json +48 -23
  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 +62 -28
  12. package/generated/ghes-3.3.json +48 -23
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +24 -8
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +19 -3
  15. package/generated/ghes-3.4.deref.json +63 -29
  16. package/generated/ghes-3.4.json +48 -23
  17. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  18. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  19. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +18 -18
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +13 -13
  21. package/generated/ghes-3.5.deref.json +73 -30
  22. package/generated/ghes-3.5.json +48 -23
  23. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +19 -3
  24. package/generated/ghes-3.6-diff-to-api.github.com.json +18 -2
  25. package/generated/ghes-3.6.deref.json +73 -30
  26. package/generated/ghes-3.6.json +48 -23
  27. package/generated/github.ae-diff-to-api.github.com.deref.json +32 -16
  28. package/generated/github.ae-diff-to-api.github.com.json +29 -13
  29. package/generated/github.ae.deref.json +71 -28
  30. package/generated/github.ae.json +48 -23
  31. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {
@@ -8555,7 +8555,7 @@
8555
8555
  },
8556
8556
  {
8557
8557
  "name": "state",
8558
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
8558
+ "description": "Indicates the state of the issues to return.",
8559
8559
  "in": "query",
8560
8560
  "required": false,
8561
8561
  "schema": {
@@ -8573,7 +8573,7 @@
8573
8573
  },
8574
8574
  {
8575
8575
  "name": "sort",
8576
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
8576
+ "description": "What to sort results by.",
8577
8577
  "in": "query",
8578
8578
  "required": false,
8579
8579
  "schema": {
@@ -8821,7 +8821,7 @@
8821
8821
  "type": "string"
8822
8822
  },
8823
8823
  "mode": {
8824
- "description": "The rendering mode. Can be either `markdown` or `gfm`.",
8824
+ "description": "The rendering mode.",
8825
8825
  "enum": [
8826
8826
  "markdown",
8827
8827
  "gfm"
@@ -13954,7 +13954,7 @@
13954
13954
  },
13955
13955
  {
13956
13956
  "name": "state",
13957
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
13957
+ "description": "Indicates the state of the issues to return.",
13958
13958
  "in": "query",
13959
13959
  "required": false,
13960
13960
  "schema": {
@@ -13972,7 +13972,7 @@
13972
13972
  },
13973
13973
  {
13974
13974
  "name": "sort",
13975
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
13975
+ "description": "What to sort results by.",
13976
13976
  "in": "query",
13977
13977
  "required": false,
13978
13978
  "schema": {
@@ -15131,7 +15131,7 @@
15131
15131
  },
15132
15132
  {
15133
15133
  "name": "state",
15134
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
15134
+ "description": "Indicates the state of the projects to return.",
15135
15135
  "in": "query",
15136
15136
  "required": false,
15137
15137
  "schema": {
@@ -28379,6 +28379,22 @@
28379
28379
  "default": "all"
28380
28380
  }
28381
28381
  },
28382
+ {
28383
+ "name": "permission",
28384
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
28385
+ "in": "query",
28386
+ "required": false,
28387
+ "schema": {
28388
+ "type": "string",
28389
+ "enum": [
28390
+ "pull",
28391
+ "triage",
28392
+ "push",
28393
+ "maintain",
28394
+ "admin"
28395
+ ]
28396
+ }
28397
+ },
28382
28398
  {
28383
28399
  "$ref": "#/components/parameters/per-page"
28384
28400
  },
@@ -30084,7 +30100,7 @@
30084
30100
  },
30085
30101
  "put": {
30086
30102
  "summary": "Create or update file contents",
30087
- "description": "Creates a new file or replaces an existing file in a repository.",
30103
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
30088
30104
  "tags": [
30089
30105
  "repos"
30090
30106
  ],
@@ -32099,7 +32115,7 @@
32099
32115
  },
32100
32116
  {
32101
32117
  "name": "sort",
32102
- "description": "The sort order. Can be either `newest`, `oldest`, or `stargazers`.",
32118
+ "description": "The sort order. `stargazers` will sort by star count.",
32103
32119
  "in": "query",
32104
32120
  "required": false,
32105
32121
  "schema": {
@@ -33368,7 +33384,7 @@
33368
33384
  "/repos/{owner}/{repo}/hooks": {
33369
33385
  "get": {
33370
33386
  "summary": "List repository webhooks",
33371
- "description": "",
33387
+ "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
33372
33388
  "tags": [
33373
33389
  "repos"
33374
33390
  ],
@@ -34432,7 +34448,7 @@
34432
34448
  },
34433
34449
  {
34434
34450
  "name": "state",
34435
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
34451
+ "description": "Indicates the state of the issues to return.",
34436
34452
  "in": "query",
34437
34453
  "required": false,
34438
34454
  "schema": {
@@ -34477,7 +34493,7 @@
34477
34493
  },
34478
34494
  {
34479
34495
  "name": "sort",
34480
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
34496
+ "description": "What to sort results by.",
34481
34497
  "in": "query",
34482
34498
  "required": false,
34483
34499
  "schema": {
@@ -39117,7 +39133,7 @@
39117
39133
  },
39118
39134
  {
39119
39135
  "name": "state",
39120
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
39136
+ "description": "Indicates the state of the projects to return.",
39121
39137
  "in": "query",
39122
39138
  "required": false,
39123
39139
  "schema": {
@@ -39330,7 +39346,7 @@
39330
39346
  },
39331
39347
  {
39332
39348
  "name": "sort",
39333
- "description": "What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month).",
39349
+ "description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.",
39334
39350
  "in": "query",
39335
39351
  "required": false,
39336
39352
  "schema": {
@@ -39346,7 +39362,7 @@
39346
39362
  },
39347
39363
  {
39348
39364
  "name": "direction",
39349
- "description": "The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
39365
+ "description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
39350
39366
  "in": "query",
39351
39367
  "required": false,
39352
39368
  "schema": {
@@ -39564,7 +39580,7 @@
39564
39580
  },
39565
39581
  {
39566
39582
  "name": "direction",
39567
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
39583
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
39568
39584
  "in": "query",
39569
39585
  "required": false,
39570
39586
  "schema": {
@@ -40207,7 +40223,7 @@
40207
40223
  },
40208
40224
  {
40209
40225
  "name": "direction",
40210
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
40226
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
40211
40227
  "in": "query",
40212
40228
  "required": false,
40213
40229
  "schema": {
@@ -50050,7 +50066,7 @@
50050
50066
  },
50051
50067
  {
50052
50068
  "name": "state",
50053
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
50069
+ "description": "Indicates the state of the issues to return.",
50054
50070
  "in": "query",
50055
50071
  "required": false,
50056
50072
  "schema": {
@@ -50068,7 +50084,7 @@
50068
50084
  },
50069
50085
  {
50070
50086
  "name": "sort",
50071
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
50087
+ "description": "What to sort results by.",
50072
50088
  "in": "query",
50073
50089
  "required": false,
50074
50090
  "schema": {
@@ -50434,7 +50450,7 @@
50434
50450
  "parameters": [
50435
50451
  {
50436
50452
  "name": "state",
50437
- "description": "Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships.",
50453
+ "description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
50438
50454
  "in": "query",
50439
50455
  "required": false,
50440
50456
  "schema": {
@@ -52906,7 +52922,7 @@
52906
52922
  },
52907
52923
  {
52908
52924
  "name": "state",
52909
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
52925
+ "description": "Indicates the state of the projects to return.",
52910
52926
  "in": "query",
52911
52927
  "required": false,
52912
52928
  "schema": {
@@ -57729,7 +57745,7 @@
57729
57745
  "readOnly": true
57730
57746
  },
57731
57747
  "secret-scanning-alert-state": {
57732
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
57748
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
57733
57749
  "type": "string",
57734
57750
  "enum": [
57735
57751
  "open",
@@ -64871,7 +64887,16 @@
64871
64887
  "description": "The outcome of the job.",
64872
64888
  "example": "success",
64873
64889
  "type": "string",
64874
- "nullable": true
64890
+ "nullable": true,
64891
+ "enum": [
64892
+ "success",
64893
+ "failure",
64894
+ "neutral",
64895
+ "cancelled",
64896
+ "skipped",
64897
+ "timed_out",
64898
+ "action_required"
64899
+ ]
64875
64900
  },
64876
64901
  "started_at": {
64877
64902
  "description": "The time that the job started, in ISO 8601 format.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {
@@ -25619,7 +25619,7 @@
25619
25619
  "description": "The REST API URL of the code locations for this alert."
25620
25620
  },
25621
25621
  "state": {
25622
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
25622
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
25623
25623
  "type": "string",
25624
25624
  "enum": [
25625
25625
  "open",
@@ -37911,6 +37911,22 @@
37911
37911
  "default": "all"
37912
37912
  }
37913
37913
  },
37914
+ {
37915
+ "name": "permission",
37916
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
37917
+ "in": "query",
37918
+ "required": false,
37919
+ "schema": {
37920
+ "type": "string",
37921
+ "enum": [
37922
+ "pull",
37923
+ "triage",
37924
+ "push",
37925
+ "maintain",
37926
+ "admin"
37927
+ ]
37928
+ }
37929
+ },
37914
37930
  {
37915
37931
  "name": "per_page",
37916
37932
  "description": "The number of results per page (max 100).",
@@ -49710,7 +49726,7 @@
49710
49726
  "description": "The REST API URL of the code locations for this alert."
49711
49727
  },
49712
49728
  "state": {
49713
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
49729
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
49714
49730
  "type": "string",
49715
49731
  "enum": [
49716
49732
  "open",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {
@@ -6590,6 +6590,22 @@
6590
6590
  "default": "all"
6591
6591
  }
6592
6592
  },
6593
+ {
6594
+ "name": "permission",
6595
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
6596
+ "in": "query",
6597
+ "required": false,
6598
+ "schema": {
6599
+ "type": "string",
6600
+ "enum": [
6601
+ "pull",
6602
+ "triage",
6603
+ "push",
6604
+ "maintain",
6605
+ "admin"
6606
+ ]
6607
+ }
6608
+ },
6593
6609
  {
6594
6610
  "$ref": "#/components/parameters/per-page"
6595
6611
  },
@@ -15585,7 +15601,7 @@
15585
15601
  "readOnly": true
15586
15602
  },
15587
15603
  "secret-scanning-alert-state": {
15588
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
15604
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
15589
15605
  "type": "string",
15590
15606
  "enum": [
15591
15607
  "open",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {
@@ -33424,7 +33424,7 @@
33424
33424
  "description": "The REST API URL of the code locations for this alert."
33425
33425
  },
33426
33426
  "state": {
33427
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
33427
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
33428
33428
  "type": "string",
33429
33429
  "enum": [
33430
33430
  "open",
@@ -49720,7 +49720,7 @@
49720
49720
  },
49721
49721
  {
49722
49722
  "name": "state",
49723
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
49723
+ "description": "Indicates the state of the issues to return.",
49724
49724
  "in": "query",
49725
49725
  "required": false,
49726
49726
  "schema": {
@@ -49744,7 +49744,7 @@
49744
49744
  },
49745
49745
  {
49746
49746
  "name": "sort",
49747
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
49747
+ "description": "What to sort results by.",
49748
49748
  "in": "query",
49749
49749
  "required": false,
49750
49750
  "schema": {
@@ -53052,7 +53052,7 @@
53052
53052
  "type": "string"
53053
53053
  },
53054
53054
  "mode": {
53055
- "description": "The rendering mode. Can be either `markdown` or `gfm`.",
53055
+ "description": "The rendering mode.",
53056
53056
  "enum": [
53057
53057
  "markdown",
53058
53058
  "gfm"
@@ -86368,7 +86368,7 @@
86368
86368
  },
86369
86369
  {
86370
86370
  "name": "state",
86371
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
86371
+ "description": "Indicates the state of the issues to return.",
86372
86372
  "in": "query",
86373
86373
  "required": false,
86374
86374
  "schema": {
@@ -86392,7 +86392,7 @@
86392
86392
  },
86393
86393
  {
86394
86394
  "name": "sort",
86395
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
86395
+ "description": "What to sort results by.",
86396
86396
  "in": "query",
86397
86397
  "required": false,
86398
86398
  "schema": {
@@ -96536,7 +96536,7 @@
96536
96536
  },
96537
96537
  {
96538
96538
  "name": "state",
96539
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
96539
+ "description": "Indicates the state of the projects to return.",
96540
96540
  "in": "query",
96541
96541
  "required": false,
96542
96542
  "schema": {
@@ -101475,7 +101475,7 @@
101475
101475
  "description": "The REST API URL of the code locations for this alert."
101476
101476
  },
101477
101477
  "state": {
101478
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
101478
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
101479
101479
  "type": "string",
101480
101480
  "enum": [
101481
101481
  "open",
@@ -133390,7 +133390,16 @@
133390
133390
  "description": "The outcome of the job.",
133391
133391
  "example": "success",
133392
133392
  "type": "string",
133393
- "nullable": true
133393
+ "nullable": true,
133394
+ "enum": [
133395
+ "success",
133396
+ "failure",
133397
+ "neutral",
133398
+ "cancelled",
133399
+ "skipped",
133400
+ "timed_out",
133401
+ "action_required"
133402
+ ]
133394
133403
  },
133395
133404
  "started_at": {
133396
133405
  "description": "The time that the job started, in ISO 8601 format.",
@@ -152706,7 +152715,16 @@
152706
152715
  "description": "The outcome of the job.",
152707
152716
  "example": "success",
152708
152717
  "type": "string",
152709
- "nullable": true
152718
+ "nullable": true,
152719
+ "enum": [
152720
+ "success",
152721
+ "failure",
152722
+ "neutral",
152723
+ "cancelled",
152724
+ "skipped",
152725
+ "timed_out",
152726
+ "action_required"
152727
+ ]
152710
152728
  },
152711
152729
  "started_at": {
152712
152730
  "description": "The time that the job started, in ISO 8601 format.",
@@ -153322,7 +153340,16 @@
153322
153340
  "description": "The outcome of the job.",
153323
153341
  "example": "success",
153324
153342
  "type": "string",
153325
- "nullable": true
153343
+ "nullable": true,
153344
+ "enum": [
153345
+ "success",
153346
+ "failure",
153347
+ "neutral",
153348
+ "cancelled",
153349
+ "skipped",
153350
+ "timed_out",
153351
+ "action_required"
153352
+ ]
153326
153353
  },
153327
153354
  "started_at": {
153328
153355
  "description": "The time that the job started, in ISO 8601 format.",
@@ -200016,6 +200043,22 @@
200016
200043
  "default": "all"
200017
200044
  }
200018
200045
  },
200046
+ {
200047
+ "name": "permission",
200048
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
200049
+ "in": "query",
200050
+ "required": false,
200051
+ "schema": {
200052
+ "type": "string",
200053
+ "enum": [
200054
+ "pull",
200055
+ "triage",
200056
+ "push",
200057
+ "maintain",
200058
+ "admin"
200059
+ ]
200060
+ }
200061
+ },
200019
200062
  {
200020
200063
  "name": "per_page",
200021
200064
  "description": "The number of results per page (max 100).",
@@ -221411,7 +221454,7 @@
221411
221454
  },
221412
221455
  "put": {
221413
221456
  "summary": "Create or update file contents",
221414
- "description": "Creates a new file or replaces an existing file in a repository.",
221457
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
221415
221458
  "tags": [
221416
221459
  "repos"
221417
221460
  ],
@@ -233476,7 +233519,7 @@
233476
233519
  },
233477
233520
  {
233478
233521
  "name": "sort",
233479
- "description": "The sort order. Can be either `newest`, `oldest`, or `stargazers`.",
233522
+ "description": "The sort order. `stargazers` will sort by star count.",
233480
233523
  "in": "query",
233481
233524
  "required": false,
233482
233525
  "schema": {
@@ -244034,7 +244077,7 @@
244034
244077
  "/repos/{owner}/{repo}/hooks": {
244035
244078
  "get": {
244036
244079
  "summary": "List repository webhooks",
244037
- "description": "",
244080
+ "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
244038
244081
  "tags": [
244039
244082
  "repos"
244040
244083
  ],
@@ -252359,7 +252402,7 @@
252359
252402
  },
252360
252403
  {
252361
252404
  "name": "state",
252362
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
252405
+ "description": "Indicates the state of the issues to return.",
252363
252406
  "in": "query",
252364
252407
  "required": false,
252365
252408
  "schema": {
@@ -252410,7 +252453,7 @@
252410
252453
  },
252411
252454
  {
252412
252455
  "name": "sort",
252413
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
252456
+ "description": "What to sort results by.",
252414
252457
  "in": "query",
252415
252458
  "required": false,
252416
252459
  "schema": {
@@ -312796,7 +312839,7 @@
312796
312839
  },
312797
312840
  {
312798
312841
  "name": "state",
312799
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
312842
+ "description": "Indicates the state of the projects to return.",
312800
312843
  "in": "query",
312801
312844
  "required": false,
312802
312845
  "schema": {
@@ -313776,7 +313819,7 @@
313776
313819
  },
313777
313820
  {
313778
313821
  "name": "sort",
313779
- "description": "What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month).",
313822
+ "description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.",
313780
313823
  "in": "query",
313781
313824
  "required": false,
313782
313825
  "schema": {
@@ -313792,7 +313835,7 @@
313792
313835
  },
313793
313836
  {
313794
313837
  "name": "direction",
313795
- "description": "The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
313838
+ "description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
313796
313839
  "in": "query",
313797
313840
  "required": false,
313798
313841
  "schema": {
@@ -321942,7 +321985,7 @@
321942
321985
  },
321943
321986
  {
321944
321987
  "name": "direction",
321945
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
321988
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
321946
321989
  "in": "query",
321947
321990
  "required": false,
321948
321991
  "schema": {
@@ -331379,7 +331422,7 @@
331379
331422
  },
331380
331423
  {
331381
331424
  "name": "direction",
331382
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
331425
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
331383
331426
  "in": "query",
331384
331427
  "required": false,
331385
331428
  "schema": {
@@ -355280,7 +355323,7 @@
355280
355323
  "description": "The REST API URL of the code locations for this alert."
355281
355324
  },
355282
355325
  "state": {
355283
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
355326
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
355284
355327
  "type": "string",
355285
355328
  "enum": [
355286
355329
  "open",
@@ -355778,7 +355821,7 @@
355778
355821
  "description": "The REST API URL of the code locations for this alert."
355779
355822
  },
355780
355823
  "state": {
355781
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
355824
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
355782
355825
  "type": "string",
355783
355826
  "enum": [
355784
355827
  "open",
@@ -356178,7 +356221,7 @@
356178
356221
  "type": "object",
356179
356222
  "properties": {
356180
356223
  "state": {
356181
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
356224
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
356182
356225
  "type": "string",
356183
356226
  "enum": [
356184
356227
  "open",
@@ -356256,7 +356299,7 @@
356256
356299
  "description": "The REST API URL of the code locations for this alert."
356257
356300
  },
356258
356301
  "state": {
356259
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
356302
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
356260
356303
  "type": "string",
356261
356304
  "enum": [
356262
356305
  "open",
@@ -396418,7 +396461,7 @@
396418
396461
  },
396419
396462
  {
396420
396463
  "name": "state",
396421
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
396464
+ "description": "Indicates the state of the issues to return.",
396422
396465
  "in": "query",
396423
396466
  "required": false,
396424
396467
  "schema": {
@@ -396442,7 +396485,7 @@
396442
396485
  },
396443
396486
  {
396444
396487
  "name": "sort",
396445
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
396488
+ "description": "What to sort results by.",
396446
396489
  "in": "query",
396447
396490
  "required": false,
396448
396491
  "schema": {
@@ -400047,7 +400090,7 @@
400047
400090
  "parameters": [
400048
400091
  {
400049
400092
  "name": "state",
400050
- "description": "Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships.",
400093
+ "description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
400051
400094
  "in": "query",
400052
400095
  "required": false,
400053
400096
  "schema": {
@@ -432497,7 +432540,7 @@
432497
432540
  },
432498
432541
  {
432499
432542
  "name": "state",
432500
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
432543
+ "description": "Indicates the state of the projects to return.",
432501
432544
  "in": "query",
432502
432545
  "required": false,
432503
432546
  "schema": {