@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": {
@@ -12448,17 +12448,6 @@
12448
12448
  }
12449
12449
  }
12450
12450
  },
12451
- "302": {
12452
- "description": "Response if requester is not an organization member",
12453
- "headers": {
12454
- "Location": {
12455
- "example": "https://api.github.com/orgs/github/public_members",
12456
- "schema": {
12457
- "type": "string"
12458
- }
12459
- }
12460
- }
12461
- },
12462
12451
  "422": {
12463
12452
  "$ref": "#/components/responses/validation_failed"
12464
12453
  }
@@ -23260,11 +23249,16 @@
23260
23249
  "properties": {
23261
23250
  "key_prefix": {
23262
23251
  "type": "string",
23263
- "description": "The prefix appended by alphanumeric characters will generate a link any time it is found in an issue, pull request, or commit."
23252
+ "description": "This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit."
23264
23253
  },
23265
23254
  "url_template": {
23266
23255
  "type": "string",
23267
- "description": "The URL must contain `<num>` for the reference number. `<num>` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`."
23256
+ "description": "The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`."
23257
+ },
23258
+ "is_alphanumeric": {
23259
+ "type": "boolean",
23260
+ "default": "true",
23261
+ "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."
23268
23262
  }
23269
23263
  },
23270
23264
  "required": [
@@ -23276,7 +23270,8 @@
23276
23270
  "default": {
23277
23271
  "value": {
23278
23272
  "key_prefix": "TICKET-",
23279
- "url_template": "https://example.com/TICKET?query=<num>"
23273
+ "url_template": "https://example.com/TICKET?query=<num>",
23274
+ "is_alphanumeric": true
23280
23275
  }
23281
23276
  }
23282
23277
  }
@@ -30219,6 +30214,9 @@
30219
30214
  },
30220
30215
  "500": {
30221
30216
  "$ref": "#/components/responses/internal_error"
30217
+ },
30218
+ "503": {
30219
+ "$ref": "#/components/responses/service_unavailable"
30222
30220
  }
30223
30221
  },
30224
30222
  "x-github": {
@@ -30674,6 +30672,9 @@
30674
30672
  },
30675
30673
  "500": {
30676
30674
  "$ref": "#/components/responses/internal_error"
30675
+ },
30676
+ "503": {
30677
+ "$ref": "#/components/responses/service_unavailable"
30677
30678
  }
30678
30679
  },
30679
30680
  "x-github": {
@@ -41476,6 +41477,9 @@
41476
41477
  },
41477
41478
  "500": {
41478
41479
  "$ref": "#/components/responses/internal_error"
41480
+ },
41481
+ "503": {
41482
+ "$ref": "#/components/responses/service_unavailable"
41479
41483
  }
41480
41484
  },
41481
41485
  "x-github": {
@@ -42153,6 +42157,9 @@
42153
42157
  },
42154
42158
  "500": {
42155
42159
  "$ref": "#/components/responses/internal_error"
42160
+ },
42161
+ "503": {
42162
+ "$ref": "#/components/responses/service_unavailable"
42156
42163
  }
42157
42164
  },
42158
42165
  "x-github": {
@@ -46495,7 +46502,7 @@
46495
46502
  "/repos/{template_owner}/{template_repo}/generate": {
46496
46503
  "post": {
46497
46504
  "summary": "Create a repository using a template",
46498
- "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/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/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",
46505
+ "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/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/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",
46499
46506
  "tags": [
46500
46507
  "repos"
46501
46508
  ],
@@ -61712,6 +61719,10 @@
61712
61719
  "starred_at": {
61713
61720
  "type": "string",
61714
61721
  "example": "\"2020-07-09T00:17:42Z\""
61722
+ },
61723
+ "anonymous_access_enabled": {
61724
+ "type": "boolean",
61725
+ "description": "Whether anonymous git access is enabled for this repository"
61715
61726
  }
61716
61727
  },
61717
61728
  "required": [
@@ -62932,6 +62943,11 @@
62932
62943
  "nullable": true,
62933
62944
  "type": "string",
62934
62945
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
62946
+ },
62947
+ "help_uri": {
62948
+ "nullable": true,
62949
+ "type": "string",
62950
+ "description": "A link to the documentation for the rule used to detect the alert."
62935
62951
  }
62936
62952
  }
62937
62953
  },
@@ -66656,6 +66672,10 @@
66656
66672
  "starred_at": {
66657
66673
  "type": "string",
66658
66674
  "example": "\"2020-07-09T00:17:42Z\""
66675
+ },
66676
+ "anonymous_access_enabled": {
66677
+ "type": "boolean",
66678
+ "description": "Whether anonymous git access is enabled for this repository"
66659
66679
  }
66660
66680
  },
66661
66681
  "required": [
@@ -73184,14 +73204,16 @@
73184
73204
  "type": "string"
73185
73205
  },
73186
73206
  "is_alphanumeric": {
73187
- "description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
73207
+ "description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
73208
+ "example": true,
73188
73209
  "type": "boolean"
73189
73210
  }
73190
73211
  },
73191
73212
  "required": [
73192
73213
  "id",
73193
73214
  "key_prefix",
73194
- "url_template"
73215
+ "url_template",
73216
+ "is_alphanumeric"
73195
73217
  ]
73196
73218
  },
73197
73219
  "protected-branch-required-status-check": {
@@ -99640,7 +99662,8 @@
99640
99662
  "security",
99641
99663
  "external/cwe/cwe-022"
99642
99664
  ],
99643
- "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 ..."
99665
+ "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 ...",
99666
+ "help_uri": "https://codeql.github.com/"
99644
99667
  },
99645
99668
  "tool": {
99646
99669
  "name": "CodeQL",
@@ -99712,7 +99735,8 @@
99712
99735
  "security",
99713
99736
  "external/cwe/cwe-022"
99714
99737
  ],
99715
- "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 ..."
99738
+ "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 ...",
99739
+ "help_uri": "https://codeql.github.com/"
99716
99740
  },
99717
99741
  "tool": {
99718
99742
  "name": "CodeQL",
@@ -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": {
@@ -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": {