@octokit/openapi 7.6.0 → 7.9.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 +1927 -149
- package/generated/api.github.com.json +566 -22
- 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 +475 -23
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +36 -6
- package/generated/ghes-3.2.deref.json +585 -35
- package/generated/ghes-3.2.json +48 -17
- 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 +592 -36
- package/generated/ghes-3.3.json +55 -18
- 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 +620 -36
- package/generated/ghes-3.4.json +55 -18
- 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 +537 -23
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +39 -6
- package/generated/ghes-3.5.deref.json +633 -36
- package/generated/ghes-3.5.json +55 -18
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +122 -1
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +9482 -2
- package/generated/ghes-3.6-diff-to-api.github.com.json +1044 -31
- package/generated/ghes-3.6.deref.json +782 -39
- package/generated/ghes-3.6.json +204 -21
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +49 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +446 -18
- package/generated/github.ae-diff-to-api.github.com.json +43 -7
- package/generated/github.ae.deref.json +768 -30
- package/generated/github.ae.json +237 -18
- 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.9.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": {
|
|
@@ -34174,6 +34175,11 @@
|
|
|
34174
34175
|
},
|
|
34175
34176
|
"state_reason": {
|
|
34176
34177
|
"type": "string",
|
|
34178
|
+
"enum": [
|
|
34179
|
+
"completed",
|
|
34180
|
+
"not_planned",
|
|
34181
|
+
"reopened"
|
|
34182
|
+
],
|
|
34177
34183
|
"nullable": true,
|
|
34178
34184
|
"description": "The reason for the current state",
|
|
34179
34185
|
"example": "not_planned"
|
|
@@ -38736,6 +38742,9 @@
|
|
|
38736
38742
|
},
|
|
38737
38743
|
"500": {
|
|
38738
38744
|
"$ref": "#/components/responses/internal_error"
|
|
38745
|
+
},
|
|
38746
|
+
"503": {
|
|
38747
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
38739
38748
|
}
|
|
38740
38749
|
},
|
|
38741
38750
|
"x-github": {
|
|
@@ -39283,6 +39292,9 @@
|
|
|
39283
39292
|
},
|
|
39284
39293
|
"500": {
|
|
39285
39294
|
"$ref": "#/components/responses/internal_error"
|
|
39295
|
+
},
|
|
39296
|
+
"503": {
|
|
39297
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
39286
39298
|
}
|
|
39287
39299
|
},
|
|
39288
39300
|
"x-github": {
|
|
@@ -43253,7 +43265,7 @@
|
|
|
43253
43265
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
43254
43266
|
"post": {
|
|
43255
43267
|
"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.
|
|
43268
|
+
"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
43269
|
"tags": [
|
|
43258
43270
|
"repos"
|
|
43259
43271
|
],
|
|
@@ -55413,6 +55425,10 @@
|
|
|
55413
55425
|
"starred_at": {
|
|
55414
55426
|
"type": "string",
|
|
55415
55427
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
55428
|
+
},
|
|
55429
|
+
"anonymous_access_enabled": {
|
|
55430
|
+
"type": "boolean",
|
|
55431
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
55416
55432
|
}
|
|
55417
55433
|
},
|
|
55418
55434
|
"required": [
|
|
@@ -57209,7 +57225,12 @@
|
|
|
57209
57225
|
"description": "The reason for the current state",
|
|
57210
57226
|
"example": "not_planned",
|
|
57211
57227
|
"type": "string",
|
|
57212
|
-
"nullable": true
|
|
57228
|
+
"nullable": true,
|
|
57229
|
+
"enum": [
|
|
57230
|
+
"completed",
|
|
57231
|
+
"reopened",
|
|
57232
|
+
"not_planned"
|
|
57233
|
+
]
|
|
57213
57234
|
},
|
|
57214
57235
|
"title": {
|
|
57215
57236
|
"description": "Title of the issue",
|
|
@@ -59321,6 +59342,10 @@
|
|
|
59321
59342
|
"starred_at": {
|
|
59322
59343
|
"type": "string",
|
|
59323
59344
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
59345
|
+
},
|
|
59346
|
+
"anonymous_access_enabled": {
|
|
59347
|
+
"type": "boolean",
|
|
59348
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
59324
59349
|
}
|
|
59325
59350
|
},
|
|
59326
59351
|
"required": [
|
|
@@ -65993,6 +66018,11 @@
|
|
|
65993
66018
|
"nullable": true,
|
|
65994
66019
|
"type": "string",
|
|
65995
66020
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
66021
|
+
},
|
|
66022
|
+
"help_uri": {
|
|
66023
|
+
"nullable": true,
|
|
66024
|
+
"type": "string",
|
|
66025
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
65996
66026
|
}
|
|
65997
66027
|
}
|
|
65998
66028
|
},
|
|
@@ -69049,7 +69079,12 @@
|
|
|
69049
69079
|
"description": "The reason for the current state",
|
|
69050
69080
|
"example": "not_planned",
|
|
69051
69081
|
"type": "string",
|
|
69052
|
-
"nullable": true
|
|
69082
|
+
"nullable": true,
|
|
69083
|
+
"enum": [
|
|
69084
|
+
"completed",
|
|
69085
|
+
"reopened",
|
|
69086
|
+
"not_planned"
|
|
69087
|
+
]
|
|
69053
69088
|
},
|
|
69054
69089
|
"title": {
|
|
69055
69090
|
"description": "Title of the issue",
|
|
@@ -88020,7 +88055,8 @@
|
|
|
88020
88055
|
"security",
|
|
88021
88056
|
"external/cwe/cwe-022"
|
|
88022
88057
|
],
|
|
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 ..."
|
|
88058
|
+
"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 ...",
|
|
88059
|
+
"help_uri": "https://codeql.github.com/"
|
|
88024
88060
|
},
|
|
88025
88061
|
"tool": {
|
|
88026
88062
|
"name": "CodeQL",
|
|
@@ -88090,7 +88126,8 @@
|
|
|
88090
88126
|
"security",
|
|
88091
88127
|
"external/cwe/cwe-022"
|
|
88092
88128
|
],
|
|
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 ..."
|
|
88129
|
+
"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 ...",
|
|
88130
|
+
"help_uri": "https://codeql.github.com/"
|
|
88094
88131
|
},
|
|
88095
88132
|
"tool": {
|
|
88096
88133
|
"name": "CodeQL",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.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.9.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": {
|