@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": {
@@ -10393,17 +10393,6 @@
10393
10393
  }
10394
10394
  }
10395
10395
  },
10396
- "302": {
10397
- "description": "Response if requester is not an organization member",
10398
- "headers": {
10399
- "Location": {
10400
- "example": "https://api.github.com/orgs/github/public_members",
10401
- "schema": {
10402
- "type": "string"
10403
- }
10404
- }
10405
- }
10406
- },
10407
10396
  "422": {
10408
10397
  "$ref": "#/components/responses/validation_failed"
10409
10398
  }
@@ -18502,6 +18491,11 @@
18502
18491
  "url_template": {
18503
18492
  "type": "string",
18504
18493
  "description": "The URL must contain `<num>` for the reference number."
18494
+ },
18495
+ "is_alphanumeric": {
18496
+ "type": "boolean",
18497
+ "default": "true",
18498
+ "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."
18505
18499
  }
18506
18500
  },
18507
18501
  "required": [
@@ -18513,7 +18507,8 @@
18513
18507
  "default": {
18514
18508
  "value": {
18515
18509
  "key_prefix": "TICKET-",
18516
- "url_template": "https://example.com/TICKET?query=<num>"
18510
+ "url_template": "https://example.com/TICKET?query=<num>",
18511
+ "is_alphanumeric": true
18517
18512
  }
18518
18513
  }
18519
18514
  }
@@ -24608,6 +24603,9 @@
24608
24603
  },
24609
24604
  "500": {
24610
24605
  "$ref": "#/components/responses/internal_error"
24606
+ },
24607
+ "503": {
24608
+ "$ref": "#/components/responses/service_unavailable"
24611
24609
  }
24612
24610
  },
24613
24611
  "x-github": {
@@ -25029,6 +25027,9 @@
25029
25027
  },
25030
25028
  "500": {
25031
25029
  "$ref": "#/components/responses/internal_error"
25030
+ },
25031
+ "503": {
25032
+ "$ref": "#/components/responses/service_unavailable"
25032
25033
  }
25033
25034
  },
25034
25035
  "x-github": {
@@ -34656,6 +34657,9 @@
34656
34657
  },
34657
34658
  "500": {
34658
34659
  "$ref": "#/components/responses/internal_error"
34660
+ },
34661
+ "503": {
34662
+ "$ref": "#/components/responses/service_unavailable"
34659
34663
  }
34660
34664
  },
34661
34665
  "x-github": {
@@ -35203,6 +35207,9 @@
35203
35207
  },
35204
35208
  "500": {
35205
35209
  "$ref": "#/components/responses/internal_error"
35210
+ },
35211
+ "503": {
35212
+ "$ref": "#/components/responses/service_unavailable"
35206
35213
  }
35207
35214
  },
35208
35215
  "x-github": {
@@ -38925,7 +38932,7 @@
38925
38932
  "/repos/{template_owner}/{template_repo}/generate": {
38926
38933
  "post": {
38927
38934
  "summary": "Create a repository using a template",
38928
- "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/github-ae@latest/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/github-ae@latest/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",
38935
+ "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/github-ae@latest/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/github-ae@latest/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",
38929
38936
  "tags": [
38930
38937
  "repos"
38931
38938
  ],
@@ -54432,6 +54439,10 @@
54432
54439
  "starred_at": {
54433
54440
  "type": "string",
54434
54441
  "example": "\"2020-07-09T00:17:42Z\""
54442
+ },
54443
+ "anonymous_access_enabled": {
54444
+ "type": "boolean",
54445
+ "description": "Whether anonymous git access is enabled for this repository"
54435
54446
  }
54436
54447
  },
54437
54448
  "required": [
@@ -57692,6 +57703,10 @@
57692
57703
  "starred_at": {
57693
57704
  "type": "string",
57694
57705
  "example": "\"2020-07-09T00:17:42Z\""
57706
+ },
57707
+ "anonymous_access_enabled": {
57708
+ "type": "boolean",
57709
+ "description": "Whether anonymous git access is enabled for this repository"
57695
57710
  }
57696
57711
  },
57697
57712
  "required": [
@@ -64418,6 +64433,11 @@
64418
64433
  "nullable": true,
64419
64434
  "type": "string",
64420
64435
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
64436
+ },
64437
+ "help_uri": {
64438
+ "nullable": true,
64439
+ "type": "string",
64440
+ "description": "A link to the documentation for the rule used to detect the alert."
64421
64441
  }
64422
64442
  }
64423
64443
  },
@@ -85192,7 +85212,8 @@
85192
85212
  "security",
85193
85213
  "external/cwe/cwe-022"
85194
85214
  ],
85195
- "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 ..."
85215
+ "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 ...",
85216
+ "help_uri": "https://codeql.github.com/"
85196
85217
  },
85197
85218
  "tool": {
85198
85219
  "name": "CodeQL",
@@ -85263,7 +85284,8 @@
85263
85284
  "security",
85264
85285
  "external/cwe/cwe-022"
85265
85286
  ],
85266
- "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 ..."
85287
+ "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 ...",
85288
+ "help_uri": "https://codeql.github.com/"
85267
85289
  },
85268
85290
  "tool": {
85269
85291
  "name": "CodeQL",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "7.7.0",
6
+ "version": "7.8.0",
7
7
  "description": "GitHub's official OpenAPI spec with Octokit extensions",
8
8
  "main": "index.js",
9
9
  "files": [