@octokit/openapi 7.7.0 → 7.9.1
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 +806 -77
- package/generated/api.github.com.json +80 -25
- 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 +51 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +9586 -496
- package/generated/ghes-3.6-diff-to-api.github.com.json +927 -20
- package/generated/ghes-3.6.deref.json +647 -38
- package/generated/ghes-3.6.json +69 -20
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +35 -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 +556 -30
- package/generated/github.ae.json +55 -18
- package/package.json +1 -1
package/generated/github.ae.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.1",
|
|
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": {
|
|
@@ -30264,6 +30265,11 @@
|
|
|
30264
30265
|
},
|
|
30265
30266
|
"state_reason": {
|
|
30266
30267
|
"type": "string",
|
|
30268
|
+
"enum": [
|
|
30269
|
+
"completed",
|
|
30270
|
+
"not_planned",
|
|
30271
|
+
"reopened"
|
|
30272
|
+
],
|
|
30267
30273
|
"nullable": true,
|
|
30268
30274
|
"description": "The reason for the current state",
|
|
30269
30275
|
"example": "not_planned"
|
|
@@ -34656,6 +34662,9 @@
|
|
|
34656
34662
|
},
|
|
34657
34663
|
"500": {
|
|
34658
34664
|
"$ref": "#/components/responses/internal_error"
|
|
34665
|
+
},
|
|
34666
|
+
"503": {
|
|
34667
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
34659
34668
|
}
|
|
34660
34669
|
},
|
|
34661
34670
|
"x-github": {
|
|
@@ -35203,6 +35212,9 @@
|
|
|
35203
35212
|
},
|
|
35204
35213
|
"500": {
|
|
35205
35214
|
"$ref": "#/components/responses/internal_error"
|
|
35215
|
+
},
|
|
35216
|
+
"503": {
|
|
35217
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
35206
35218
|
}
|
|
35207
35219
|
},
|
|
35208
35220
|
"x-github": {
|
|
@@ -38925,7 +38937,7 @@
|
|
|
38925
38937
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
38926
38938
|
"post": {
|
|
38927
38939
|
"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.
|
|
38940
|
+
"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
38941
|
"tags": [
|
|
38930
38942
|
"repos"
|
|
38931
38943
|
],
|
|
@@ -54432,6 +54444,10 @@
|
|
|
54432
54444
|
"starred_at": {
|
|
54433
54445
|
"type": "string",
|
|
54434
54446
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
54447
|
+
},
|
|
54448
|
+
"anonymous_access_enabled": {
|
|
54449
|
+
"type": "boolean",
|
|
54450
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
54435
54451
|
}
|
|
54436
54452
|
},
|
|
54437
54453
|
"required": [
|
|
@@ -56487,7 +56503,12 @@
|
|
|
56487
56503
|
"description": "The reason for the current state",
|
|
56488
56504
|
"example": "not_planned",
|
|
56489
56505
|
"type": "string",
|
|
56490
|
-
"nullable": true
|
|
56506
|
+
"nullable": true,
|
|
56507
|
+
"enum": [
|
|
56508
|
+
"completed",
|
|
56509
|
+
"reopened",
|
|
56510
|
+
"not_planned"
|
|
56511
|
+
]
|
|
56491
56512
|
},
|
|
56492
56513
|
"title": {
|
|
56493
56514
|
"description": "Title of the issue",
|
|
@@ -57692,6 +57713,10 @@
|
|
|
57692
57713
|
"starred_at": {
|
|
57693
57714
|
"type": "string",
|
|
57694
57715
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
57716
|
+
},
|
|
57717
|
+
"anonymous_access_enabled": {
|
|
57718
|
+
"type": "boolean",
|
|
57719
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
57695
57720
|
}
|
|
57696
57721
|
},
|
|
57697
57722
|
"required": [
|
|
@@ -64418,6 +64443,11 @@
|
|
|
64418
64443
|
"nullable": true,
|
|
64419
64444
|
"type": "string",
|
|
64420
64445
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
64446
|
+
},
|
|
64447
|
+
"help_uri": {
|
|
64448
|
+
"nullable": true,
|
|
64449
|
+
"type": "string",
|
|
64450
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
64421
64451
|
}
|
|
64422
64452
|
}
|
|
64423
64453
|
},
|
|
@@ -67844,7 +67874,12 @@
|
|
|
67844
67874
|
"description": "The reason for the current state",
|
|
67845
67875
|
"example": "not_planned",
|
|
67846
67876
|
"type": "string",
|
|
67847
|
-
"nullable": true
|
|
67877
|
+
"nullable": true,
|
|
67878
|
+
"enum": [
|
|
67879
|
+
"completed",
|
|
67880
|
+
"reopened",
|
|
67881
|
+
"not_planned"
|
|
67882
|
+
]
|
|
67848
67883
|
},
|
|
67849
67884
|
"title": {
|
|
67850
67885
|
"description": "Title of the issue",
|
|
@@ -85192,7 +85227,8 @@
|
|
|
85192
85227
|
"security",
|
|
85193
85228
|
"external/cwe/cwe-022"
|
|
85194
85229
|
],
|
|
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 ..."
|
|
85230
|
+
"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 ...",
|
|
85231
|
+
"help_uri": "https://codeql.github.com/"
|
|
85196
85232
|
},
|
|
85197
85233
|
"tool": {
|
|
85198
85234
|
"name": "CodeQL",
|
|
@@ -85263,7 +85299,8 @@
|
|
|
85263
85299
|
"security",
|
|
85264
85300
|
"external/cwe/cwe-022"
|
|
85265
85301
|
],
|
|
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 ..."
|
|
85302
|
+
"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 ...",
|
|
85303
|
+
"help_uri": "https://codeql.github.com/"
|
|
85267
85304
|
},
|
|
85268
85305
|
"tool": {
|
|
85269
85306
|
"name": "CodeQL",
|