@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
|
@@ -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": {
|
|
@@ -6312,6 +6312,11 @@
|
|
|
6312
6312
|
"url_template": {
|
|
6313
6313
|
"type": "string",
|
|
6314
6314
|
"description": "The URL must contain `<num>` for the reference number."
|
|
6315
|
+
},
|
|
6316
|
+
"is_alphanumeric": {
|
|
6317
|
+
"type": "boolean",
|
|
6318
|
+
"default": "true",
|
|
6319
|
+
"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."
|
|
6315
6320
|
}
|
|
6316
6321
|
},
|
|
6317
6322
|
"required": [
|
|
@@ -6323,7 +6328,8 @@
|
|
|
6323
6328
|
"default": {
|
|
6324
6329
|
"value": {
|
|
6325
6330
|
"key_prefix": "TICKET-",
|
|
6326
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
6331
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
6332
|
+
"is_alphanumeric": true
|
|
6327
6333
|
}
|
|
6328
6334
|
}
|
|
6329
6335
|
}
|
|
@@ -9935,7 +9941,7 @@
|
|
|
9935
9941
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
9936
9942
|
"post": {
|
|
9937
9943
|
"summary": "Create a repository using a template",
|
|
9938
|
-
"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.
|
|
9944
|
+
"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",
|
|
9939
9945
|
"tags": [
|
|
9940
9946
|
"repos"
|
|
9941
9947
|
],
|
|
@@ -15142,6 +15148,10 @@
|
|
|
15142
15148
|
"starred_at": {
|
|
15143
15149
|
"type": "string",
|
|
15144
15150
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
15151
|
+
},
|
|
15152
|
+
"anonymous_access_enabled": {
|
|
15153
|
+
"type": "boolean",
|
|
15154
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
15145
15155
|
}
|
|
15146
15156
|
},
|
|
15147
15157
|
"required": [
|
|
@@ -21005,6 +21015,10 @@
|
|
|
21005
21015
|
"starred_at": {
|
|
21006
21016
|
"type": "string",
|
|
21007
21017
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
21018
|
+
},
|
|
21019
|
+
"anonymous_access_enabled": {
|
|
21020
|
+
"type": "boolean",
|
|
21021
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
21008
21022
|
}
|
|
21009
21023
|
},
|
|
21010
21024
|
"required": [
|
|
@@ -21689,6 +21703,11 @@
|
|
|
21689
21703
|
"nullable": true,
|
|
21690
21704
|
"type": "string",
|
|
21691
21705
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
21706
|
+
},
|
|
21707
|
+
"help_uri": {
|
|
21708
|
+
"nullable": true,
|
|
21709
|
+
"type": "string",
|
|
21710
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
21692
21711
|
}
|
|
21693
21712
|
}
|
|
21694
21713
|
},
|
|
@@ -27752,7 +27771,8 @@
|
|
|
27752
27771
|
"security",
|
|
27753
27772
|
"external/cwe/cwe-022"
|
|
27754
27773
|
],
|
|
27755
|
-
"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 ..."
|
|
27774
|
+
"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 ...",
|
|
27775
|
+
"help_uri": "https://codeql.github.com/"
|
|
27756
27776
|
},
|
|
27757
27777
|
"tool": {
|
|
27758
27778
|
"name": "CodeQL",
|
|
@@ -27823,7 +27843,8 @@
|
|
|
27823
27843
|
"security",
|
|
27824
27844
|
"external/cwe/cwe-022"
|
|
27825
27845
|
],
|
|
27826
|
-
"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 ..."
|
|
27846
|
+
"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 ...",
|
|
27847
|
+
"help_uri": "https://codeql.github.com/"
|
|
27827
27848
|
},
|
|
27828
27849
|
"tool": {
|
|
27829
27850
|
"name": "CodeQL",
|