@octokit/openapi 7.7.0 → 7.8.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 (33) hide show
  1. package/generated/api.github.com.deref.json +619 -24
  2. package/generated/api.github.com.json +44 -20
  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 +356 -4
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +19 -4
  7. package/generated/ghes-3.2.deref.json +460 -15
  8. package/generated/ghes-3.2.json +31 -15
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +19 -3
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +14 -3
  11. package/generated/ghes-3.3.deref.json +467 -16
  12. package/generated/ghes-3.3.json +38 -16
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +145 -1
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +5 -1
  15. package/generated/ghes-3.4.deref.json +495 -16
  16. package/generated/ghes-3.4.json +38 -16
  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 +418 -4
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +22 -4
  21. package/generated/ghes-3.5.deref.json +508 -16
  22. package/generated/ghes-3.5.json +38 -16
  23. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +15 -0
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +28 -2
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +16 -2
  26. package/generated/ghes-3.6.deref.json +508 -16
  27. package/generated/ghes-3.6.json +38 -16
  28. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +15 -0
  29. package/generated/github.ae-diff-to-api.github.com.deref.json +363 -5
  30. package/generated/github.ae-diff-to-api.github.com.json +26 -5
  31. package/generated/github.ae.deref.json +467 -16
  32. package/generated/github.ae.json +38 -16
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.7.0",
4
+ "version": "7.8.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": {
@@ -14117,17 +14117,6 @@
14117
14117
  }
14118
14118
  }
14119
14119
  },
14120
- "302": {
14121
- "description": "Response if requester is not an organization member",
14122
- "headers": {
14123
- "Location": {
14124
- "example": "https://api.github.com/orgs/github/public_members",
14125
- "schema": {
14126
- "type": "string"
14127
- }
14128
- }
14129
- }
14130
- },
14131
14120
  "422": {
14132
14121
  "$ref": "#/components/responses/validation_failed"
14133
14122
  }
@@ -23382,6 +23371,11 @@
23382
23371
  "url_template": {
23383
23372
  "type": "string",
23384
23373
  "description": "The URL must contain `<num>` for the reference number."
23374
+ },
23375
+ "is_alphanumeric": {
23376
+ "type": "boolean",
23377
+ "default": "true",
23378
+ "description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
23385
23379
  }
23386
23380
  },
23387
23381
  "required": [
@@ -23393,7 +23387,8 @@
23393
23387
  "default": {
23394
23388
  "value": {
23395
23389
  "key_prefix": "TICKET-",
23396
- "url_template": "https://example.com/TICKET?query=<num>"
23390
+ "url_template": "https://example.com/TICKET?query=<num>",
23391
+ "is_alphanumeric": true
23397
23392
  }
23398
23393
  }
23399
23394
  }
@@ -29523,6 +29518,9 @@
29523
29518
  },
29524
29519
  "500": {
29525
29520
  "$ref": "#/components/responses/internal_error"
29521
+ },
29522
+ "503": {
29523
+ "$ref": "#/components/responses/service_unavailable"
29526
29524
  }
29527
29525
  },
29528
29526
  "x-github": {
@@ -29944,6 +29942,9 @@
29944
29942
  },
29945
29943
  "500": {
29946
29944
  "$ref": "#/components/responses/internal_error"
29945
+ },
29946
+ "503": {
29947
+ "$ref": "#/components/responses/service_unavailable"
29947
29948
  }
29948
29949
  },
29949
29950
  "x-github": {
@@ -40022,6 +40023,9 @@
40022
40023
  },
40023
40024
  "500": {
40024
40025
  "$ref": "#/components/responses/internal_error"
40026
+ },
40027
+ "503": {
40028
+ "$ref": "#/components/responses/service_unavailable"
40025
40029
  }
40026
40030
  },
40027
40031
  "x-github": {
@@ -40581,6 +40585,9 @@
40581
40585
  },
40582
40586
  "500": {
40583
40587
  "$ref": "#/components/responses/internal_error"
40588
+ },
40589
+ "503": {
40590
+ "$ref": "#/components/responses/service_unavailable"
40584
40591
  }
40585
40592
  },
40586
40593
  "x-github": {
@@ -44731,7 +44738,7 @@
44731
44738
  "/repos/{template_owner}/{template_repo}/generate": {
44732
44739
  "post": {
44733
44740
  "summary": "Create a repository using a template",
44734
- "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
44741
+ "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
44735
44742
  "tags": [
44736
44743
  "repos"
44737
44744
  ],
@@ -56652,6 +56659,10 @@
56652
56659
  "starred_at": {
56653
56660
  "type": "string",
56654
56661
  "example": "\"2020-07-09T00:17:42Z\""
56662
+ },
56663
+ "anonymous_access_enabled": {
56664
+ "type": "boolean",
56665
+ "description": "Whether anonymous git access is enabled for this repository"
56655
56666
  }
56656
56667
  },
56657
56668
  "required": [
@@ -60617,6 +60628,10 @@
60617
60628
  "starred_at": {
60618
60629
  "type": "string",
60619
60630
  "example": "\"2020-07-09T00:17:42Z\""
60631
+ },
60632
+ "anonymous_access_enabled": {
60633
+ "type": "boolean",
60634
+ "description": "Whether anonymous git access is enabled for this repository"
60620
60635
  }
60621
60636
  },
60622
60637
  "required": [
@@ -61858,6 +61873,11 @@
61858
61873
  "nullable": true,
61859
61874
  "type": "string",
61860
61875
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
61876
+ },
61877
+ "help_uri": {
61878
+ "nullable": true,
61879
+ "type": "string",
61880
+ "description": "A link to the documentation for the rule used to detect the alert."
61861
61881
  }
61862
61882
  }
61863
61883
  },
@@ -90068,7 +90088,8 @@
90068
90088
  "security",
90069
90089
  "external/cwe/cwe-022"
90070
90090
  ],
90071
- "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
90091
+ "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
90092
+ "help_uri": "https://codeql.github.com/"
90072
90093
  },
90073
90094
  "tool": {
90074
90095
  "name": "CodeQL",
@@ -90138,7 +90159,8 @@
90138
90159
  "security",
90139
90160
  "external/cwe/cwe-022"
90140
90161
  ],
90141
- "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
90162
+ "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
90163
+ "help_uri": "https://codeql.github.com/"
90142
90164
  },
90143
90165
  "tool": {
90144
90166
  "name": "CodeQL",
@@ -17929,6 +17929,11 @@
17929
17929
  "removed": [
17930
17930
  "is_alphanumeric"
17931
17931
  ]
17932
+ },
17933
+ "required_changed": {
17934
+ "removed": [
17935
+ "is_alphanumeric"
17936
+ ]
17932
17937
  }
17933
17938
  }
17934
17939
  }
@@ -17951,6 +17956,11 @@
17951
17956
  "removed": [
17952
17957
  "is_alphanumeric"
17953
17958
  ]
17959
+ },
17960
+ "required_changed": {
17961
+ "removed": [
17962
+ "is_alphanumeric"
17963
+ ]
17954
17964
  }
17955
17965
  }
17956
17966
  }
@@ -17974,6 +17984,11 @@
17974
17984
  "removed": [
17975
17985
  "is_alphanumeric"
17976
17986
  ]
17987
+ },
17988
+ "required_changed": {
17989
+ "removed": [
17990
+ "is_alphanumeric"
17991
+ ]
17977
17992
  }
17978
17993
  }
17979
17994
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.7.0",
4
+ "version": "7.8.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": {
@@ -9623,6 +9623,10 @@
9623
9623
  "starred_at": {
9624
9624
  "type": "string",
9625
9625
  "example": "\"2020-07-09T00:17:42Z\""
9626
+ },
9627
+ "anonymous_access_enabled": {
9628
+ "type": "boolean",
9629
+ "description": "Whether anonymous git access is enabled for this repository"
9626
9630
  }
9627
9631
  },
9628
9632
  "required": [
@@ -28067,6 +28071,11 @@
28067
28071
  "url_template": {
28068
28072
  "type": "string",
28069
28073
  "description": "The URL must contain `<num>` for the reference number."
28074
+ },
28075
+ "is_alphanumeric": {
28076
+ "type": "boolean",
28077
+ "default": "true",
28078
+ "description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
28070
28079
  }
28071
28080
  },
28072
28081
  "required": [
@@ -28078,7 +28087,8 @@
28078
28087
  "default": {
28079
28088
  "value": {
28080
28089
  "key_prefix": "TICKET-",
28081
- "url_template": "https://example.com/TICKET?query=<num>"
28090
+ "url_template": "https://example.com/TICKET?query=<num>",
28091
+ "is_alphanumeric": true
28082
28092
  }
28083
28093
  }
28084
28094
  }
@@ -30906,6 +30916,10 @@
30906
30916
  "starred_at": {
30907
30917
  "type": "string",
30908
30918
  "example": "\"2020-07-09T00:17:42Z\""
30919
+ },
30920
+ "anonymous_access_enabled": {
30921
+ "type": "boolean",
30922
+ "description": "Whether anonymous git access is enabled for this repository"
30909
30923
  }
30910
30924
  },
30911
30925
  "required": [
@@ -32340,6 +32354,10 @@
32340
32354
  "starred_at": {
32341
32355
  "type": "string",
32342
32356
  "example": "\"2020-07-09T00:17:42Z\""
32357
+ },
32358
+ "anonymous_access_enabled": {
32359
+ "type": "boolean",
32360
+ "description": "Whether anonymous git access is enabled for this repository"
32343
32361
  }
32344
32362
  },
32345
32363
  "required": [
@@ -33529,6 +33547,10 @@
33529
33547
  "starred_at": {
33530
33548
  "type": "string",
33531
33549
  "example": "\"2020-07-09T00:17:42Z\""
33550
+ },
33551
+ "anonymous_access_enabled": {
33552
+ "type": "boolean",
33553
+ "description": "Whether anonymous git access is enabled for this repository"
33532
33554
  }
33533
33555
  },
33534
33556
  "required": [
@@ -42523,6 +42545,10 @@
42523
42545
  "starred_at": {
42524
42546
  "type": "string",
42525
42547
  "example": "\"2020-07-09T00:17:42Z\""
42548
+ },
42549
+ "anonymous_access_enabled": {
42550
+ "type": "boolean",
42551
+ "description": "Whether anonymous git access is enabled for this repository"
42526
42552
  }
42527
42553
  },
42528
42554
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.7.0",
4
+ "version": "7.8.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": {
@@ -6069,6 +6069,11 @@
6069
6069
  "url_template": {
6070
6070
  "type": "string",
6071
6071
  "description": "The URL must contain `<num>` for the reference number."
6072
+ },
6073
+ "is_alphanumeric": {
6074
+ "type": "boolean",
6075
+ "default": "true",
6076
+ "description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
6072
6077
  }
6073
6078
  },
6074
6079
  "required": [
@@ -6080,7 +6085,8 @@
6080
6085
  "default": {
6081
6086
  "value": {
6082
6087
  "key_prefix": "TICKET-",
6083
- "url_template": "https://example.com/TICKET?query=<num>"
6088
+ "url_template": "https://example.com/TICKET?query=<num>",
6089
+ "is_alphanumeric": true
6084
6090
  }
6085
6091
  }
6086
6092
  }
@@ -14829,6 +14835,10 @@
14829
14835
  "starred_at": {
14830
14836
  "type": "string",
14831
14837
  "example": "\"2020-07-09T00:17:42Z\""
14838
+ },
14839
+ "anonymous_access_enabled": {
14840
+ "type": "boolean",
14841
+ "description": "Whether anonymous git access is enabled for this repository"
14832
14842
  }
14833
14843
  },
14834
14844
  "required": [
@@ -16715,6 +16725,10 @@
16715
16725
  "starred_at": {
16716
16726
  "type": "string",
16717
16727
  "example": "\"2020-07-09T00:17:42Z\""
16728
+ },
16729
+ "anonymous_access_enabled": {
16730
+ "type": "boolean",
16731
+ "description": "Whether anonymous git access is enabled for this repository"
16718
16732
  }
16719
16733
  },
16720
16734
  "required": [