@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.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +1927 -149
  2. package/generated/api.github.com.json +566 -22
  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 +475 -23
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +36 -6
  7. package/generated/ghes-3.2.deref.json +585 -35
  8. package/generated/ghes-3.2.json +48 -17
  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 +592 -36
  12. package/generated/ghes-3.3.json +55 -18
  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 +620 -36
  16. package/generated/ghes-3.4.json +55 -18
  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 +537 -23
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +39 -6
  21. package/generated/ghes-3.5.deref.json +633 -36
  22. package/generated/ghes-3.5.json +55 -18
  23. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +122 -1
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +9482 -2
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +1044 -31
  26. package/generated/ghes-3.6.deref.json +782 -39
  27. package/generated/ghes-3.6.json +204 -21
  28. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +49 -0
  29. package/generated/github.ae-diff-to-api.github.com.deref.json +446 -18
  30. package/generated/github.ae-diff-to-api.github.com.json +43 -7
  31. package/generated/github.ae.deref.json +768 -30
  32. package/generated/github.ae.json +237 -18
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
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": {
@@ -5109,6 +5109,11 @@
5109
5109
  },
5110
5110
  "state_reason": {
5111
5111
  "type": "string",
5112
+ "enum": [
5113
+ "completed",
5114
+ "not_planned",
5115
+ "reopened"
5116
+ ],
5112
5117
  "nullable": true,
5113
5118
  "description": "The reason for the current state",
5114
5119
  "example": "not_planned"
@@ -6119,7 +6124,7 @@
6119
6124
  "/repos/{template_owner}/{template_repo}/generate": {
6120
6125
  "post": {
6121
6126
  "summary": "Create a repository using a template",
6122
- "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/enterprise-server@3.2/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.2/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",
6127
+ "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.2/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.2/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",
6123
6128
  "tags": [
6124
6129
  "repos"
6125
6130
  ],
@@ -9567,6 +9572,10 @@
9567
9572
  "starred_at": {
9568
9573
  "type": "string",
9569
9574
  "example": "\"2020-07-09T00:17:42Z\""
9575
+ },
9576
+ "anonymous_access_enabled": {
9577
+ "type": "boolean",
9578
+ "description": "Whether anonymous git access is enabled for this repository"
9570
9579
  }
9571
9580
  },
9572
9581
  "required": [
@@ -9695,7 +9704,12 @@
9695
9704
  "description": "The reason for the current state",
9696
9705
  "example": "not_planned",
9697
9706
  "type": "string",
9698
- "nullable": true
9707
+ "nullable": true,
9708
+ "enum": [
9709
+ "completed",
9710
+ "reopened",
9711
+ "not_planned"
9712
+ ]
9699
9713
  },
9700
9714
  "title": {
9701
9715
  "description": "Title of the issue",
@@ -14872,6 +14886,10 @@
14872
14886
  "starred_at": {
14873
14887
  "type": "string",
14874
14888
  "example": "\"2020-07-09T00:17:42Z\""
14889
+ },
14890
+ "anonymous_access_enabled": {
14891
+ "type": "boolean",
14892
+ "description": "Whether anonymous git access is enabled for this repository"
14875
14893
  }
14876
14894
  },
14877
14895
  "required": [
@@ -15373,6 +15391,11 @@
15373
15391
  "nullable": true,
15374
15392
  "type": "string",
15375
15393
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
15394
+ },
15395
+ "help_uri": {
15396
+ "nullable": true,
15397
+ "type": "string",
15398
+ "description": "A link to the documentation for the rule used to detect the alert."
15376
15399
  }
15377
15400
  }
15378
15401
  },
@@ -15871,7 +15894,12 @@
15871
15894
  "description": "The reason for the current state",
15872
15895
  "example": "not_planned",
15873
15896
  "type": "string",
15874
- "nullable": true
15897
+ "nullable": true,
15898
+ "enum": [
15899
+ "completed",
15900
+ "reopened",
15901
+ "not_planned"
15902
+ ]
15875
15903
  },
15876
15904
  "title": {
15877
15905
  "description": "Title of the issue",
@@ -20898,7 +20926,8 @@
20898
20926
  "security",
20899
20927
  "external/cwe/cwe-022"
20900
20928
  ],
20901
- "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 ..."
20929
+ "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 ...",
20930
+ "help_uri": "https://codeql.github.com/"
20902
20931
  },
20903
20932
  "tool": {
20904
20933
  "name": "CodeQL",
@@ -20967,7 +20996,8 @@
20967
20996
  "security",
20968
20997
  "external/cwe/cwe-022"
20969
20998
  ],
20970
- "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 ..."
20999
+ "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 ...",
21000
+ "help_uri": "https://codeql.github.com/"
20971
21001
  },
20972
21002
  "tool": {
20973
21003
  "name": "CodeQL",