@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.
- package/generated/api.github.com.deref.json +619 -24
- package/generated/api.github.com.json +44 -20
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +356 -4
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +19 -4
- package/generated/ghes-3.2.deref.json +460 -15
- package/generated/ghes-3.2.json +31 -15
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +19 -3
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +14 -3
- package/generated/ghes-3.3.deref.json +467 -16
- package/generated/ghes-3.3.json +38 -16
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +145 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +5 -1
- package/generated/ghes-3.4.deref.json +495 -16
- package/generated/ghes-3.4.json +38 -16
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +418 -4
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +22 -4
- package/generated/ghes-3.5.deref.json +508 -16
- package/generated/ghes-3.5.json +38 -16
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +15 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +28 -2
- package/generated/ghes-3.6-diff-to-api.github.com.json +16 -2
- package/generated/ghes-3.6.deref.json +508 -16
- package/generated/ghes-3.6.json +38 -16
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +15 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +363 -5
- package/generated/github.ae-diff-to-api.github.com.json +26 -5
- package/generated/github.ae.deref.json +467 -16
- package/generated/github.ae.json +38 -16
- package/package.json +1 -1
package/generated/ghes-3.4.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
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": {
|
|
@@ -13556,17 +13556,6 @@
|
|
|
13556
13556
|
}
|
|
13557
13557
|
}
|
|
13558
13558
|
},
|
|
13559
|
-
"302": {
|
|
13560
|
-
"description": "Response if requester is not an organization member",
|
|
13561
|
-
"headers": {
|
|
13562
|
-
"Location": {
|
|
13563
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
13564
|
-
"schema": {
|
|
13565
|
-
"type": "string"
|
|
13566
|
-
}
|
|
13567
|
-
}
|
|
13568
|
-
}
|
|
13569
|
-
},
|
|
13570
13559
|
"422": {
|
|
13571
13560
|
"$ref": "#/components/responses/validation_failed"
|
|
13572
13561
|
}
|
|
@@ -22226,6 +22215,11 @@
|
|
|
22226
22215
|
"url_template": {
|
|
22227
22216
|
"type": "string",
|
|
22228
22217
|
"description": "The URL must contain `<num>` for the reference number."
|
|
22218
|
+
},
|
|
22219
|
+
"is_alphanumeric": {
|
|
22220
|
+
"type": "boolean",
|
|
22221
|
+
"default": "true",
|
|
22222
|
+
"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."
|
|
22229
22223
|
}
|
|
22230
22224
|
},
|
|
22231
22225
|
"required": [
|
|
@@ -22237,7 +22231,8 @@
|
|
|
22237
22231
|
"default": {
|
|
22238
22232
|
"value": {
|
|
22239
22233
|
"key_prefix": "TICKET-",
|
|
22240
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
22234
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
22235
|
+
"is_alphanumeric": true
|
|
22241
22236
|
}
|
|
22242
22237
|
}
|
|
22243
22238
|
}
|
|
@@ -28303,6 +28298,9 @@
|
|
|
28303
28298
|
},
|
|
28304
28299
|
"500": {
|
|
28305
28300
|
"$ref": "#/components/responses/internal_error"
|
|
28301
|
+
},
|
|
28302
|
+
"503": {
|
|
28303
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
28306
28304
|
}
|
|
28307
28305
|
},
|
|
28308
28306
|
"x-github": {
|
|
@@ -28724,6 +28722,9 @@
|
|
|
28724
28722
|
},
|
|
28725
28723
|
"500": {
|
|
28726
28724
|
"$ref": "#/components/responses/internal_error"
|
|
28725
|
+
},
|
|
28726
|
+
"503": {
|
|
28727
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
28727
28728
|
}
|
|
28728
28729
|
},
|
|
28729
28730
|
"x-github": {
|
|
@@ -38736,6 +38737,9 @@
|
|
|
38736
38737
|
},
|
|
38737
38738
|
"500": {
|
|
38738
38739
|
"$ref": "#/components/responses/internal_error"
|
|
38740
|
+
},
|
|
38741
|
+
"503": {
|
|
38742
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
38739
38743
|
}
|
|
38740
38744
|
},
|
|
38741
38745
|
"x-github": {
|
|
@@ -39283,6 +39287,9 @@
|
|
|
39283
39287
|
},
|
|
39284
39288
|
"500": {
|
|
39285
39289
|
"$ref": "#/components/responses/internal_error"
|
|
39290
|
+
},
|
|
39291
|
+
"503": {
|
|
39292
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
39286
39293
|
}
|
|
39287
39294
|
},
|
|
39288
39295
|
"x-github": {
|
|
@@ -43253,7 +43260,7 @@
|
|
|
43253
43260
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
43254
43261
|
"post": {
|
|
43255
43262
|
"summary": "Create a repository using a template",
|
|
43256
|
-
"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.
|
|
43263
|
+
"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.4/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.4/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",
|
|
43257
43264
|
"tags": [
|
|
43258
43265
|
"repos"
|
|
43259
43266
|
],
|
|
@@ -55413,6 +55420,10 @@
|
|
|
55413
55420
|
"starred_at": {
|
|
55414
55421
|
"type": "string",
|
|
55415
55422
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
55423
|
+
},
|
|
55424
|
+
"anonymous_access_enabled": {
|
|
55425
|
+
"type": "boolean",
|
|
55426
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
55416
55427
|
}
|
|
55417
55428
|
},
|
|
55418
55429
|
"required": [
|
|
@@ -59321,6 +59332,10 @@
|
|
|
59321
59332
|
"starred_at": {
|
|
59322
59333
|
"type": "string",
|
|
59323
59334
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
59335
|
+
},
|
|
59336
|
+
"anonymous_access_enabled": {
|
|
59337
|
+
"type": "boolean",
|
|
59338
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
59324
59339
|
}
|
|
59325
59340
|
},
|
|
59326
59341
|
"required": [
|
|
@@ -65993,6 +66008,11 @@
|
|
|
65993
66008
|
"nullable": true,
|
|
65994
66009
|
"type": "string",
|
|
65995
66010
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
66011
|
+
},
|
|
66012
|
+
"help_uri": {
|
|
66013
|
+
"nullable": true,
|
|
66014
|
+
"type": "string",
|
|
66015
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
65996
66016
|
}
|
|
65997
66017
|
}
|
|
65998
66018
|
},
|
|
@@ -88020,7 +88040,8 @@
|
|
|
88020
88040
|
"security",
|
|
88021
88041
|
"external/cwe/cwe-022"
|
|
88022
88042
|
],
|
|
88023
|
-
"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 ..."
|
|
88043
|
+
"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 ...",
|
|
88044
|
+
"help_uri": "https://codeql.github.com/"
|
|
88024
88045
|
},
|
|
88025
88046
|
"tool": {
|
|
88026
88047
|
"name": "CodeQL",
|
|
@@ -88090,7 +88111,8 @@
|
|
|
88090
88111
|
"security",
|
|
88091
88112
|
"external/cwe/cwe-022"
|
|
88092
88113
|
],
|
|
88093
|
-
"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 ..."
|
|
88114
|
+
"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 ...",
|
|
88115
|
+
"help_uri": "https://codeql.github.com/"
|
|
88094
88116
|
},
|
|
88095
88117
|
"tool": {
|
|
88096
88118
|
"name": "CodeQL",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
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.
|
|
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": {
|