@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.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +806 -77
  2. package/generated/api.github.com.json +80 -25
  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 +51 -0
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +9586 -496
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +927 -20
  26. package/generated/ghes-3.6.deref.json +647 -38
  27. package/generated/ghes-3.6.json +69 -20
  28. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +35 -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 +556 -30
  32. package/generated/github.ae.json +55 -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.7.0",
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": {
@@ -5809,6 +5809,11 @@
5809
5809
  },
5810
5810
  "state_reason": {
5811
5811
  "type": "string",
5812
+ "enum": [
5813
+ "completed",
5814
+ "not_planned",
5815
+ "reopened"
5816
+ ],
5812
5817
  "nullable": true,
5813
5818
  "description": "The reason for the current state",
5814
5819
  "example": "not_planned"
@@ -6396,6 +6401,9 @@
6396
6401
  },
6397
6402
  "500": {
6398
6403
  "$ref": "#/components/responses/internal_error"
6404
+ },
6405
+ "503": {
6406
+ "$ref": "#/components/responses/service_unavailable"
6399
6407
  }
6400
6408
  },
6401
6409
  "x-github": {
@@ -6954,7 +6962,7 @@
6954
6962
  "/repos/{template_owner}/{template_repo}/generate": {
6955
6963
  "post": {
6956
6964
  "summary": "Create a repository using a template",
6957
- "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.5/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.5/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",
6965
+ "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.5/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.5/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",
6958
6966
  "tags": [
6959
6967
  "repos"
6960
6968
  ],
@@ -11638,6 +11646,10 @@
11638
11646
  "starred_at": {
11639
11647
  "type": "string",
11640
11648
  "example": "\"2020-07-09T00:17:42Z\""
11649
+ },
11650
+ "anonymous_access_enabled": {
11651
+ "type": "boolean",
11652
+ "description": "Whether anonymous git access is enabled for this repository"
11641
11653
  }
11642
11654
  },
11643
11655
  "required": [
@@ -11766,7 +11778,12 @@
11766
11778
  "description": "The reason for the current state",
11767
11779
  "example": "not_planned",
11768
11780
  "type": "string",
11769
- "nullable": true
11781
+ "nullable": true,
11782
+ "enum": [
11783
+ "completed",
11784
+ "reopened",
11785
+ "not_planned"
11786
+ ]
11770
11787
  },
11771
11788
  "title": {
11772
11789
  "description": "Title of the issue",
@@ -19451,6 +19468,10 @@
19451
19468
  "starred_at": {
19452
19469
  "type": "string",
19453
19470
  "example": "\"2020-07-09T00:17:42Z\""
19471
+ },
19472
+ "anonymous_access_enabled": {
19473
+ "type": "boolean",
19474
+ "description": "Whether anonymous git access is enabled for this repository"
19454
19475
  }
19455
19476
  },
19456
19477
  "required": [
@@ -19654,6 +19675,11 @@
19654
19675
  "nullable": true,
19655
19676
  "type": "string",
19656
19677
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
19678
+ },
19679
+ "help_uri": {
19680
+ "nullable": true,
19681
+ "type": "string",
19682
+ "description": "A link to the documentation for the rule used to detect the alert."
19657
19683
  }
19658
19684
  }
19659
19685
  },
@@ -20668,7 +20694,12 @@
20668
20694
  "description": "The reason for the current state",
20669
20695
  "example": "not_planned",
20670
20696
  "type": "string",
20671
- "nullable": true
20697
+ "nullable": true,
20698
+ "enum": [
20699
+ "completed",
20700
+ "reopened",
20701
+ "not_planned"
20702
+ ]
20672
20703
  },
20673
20704
  "title": {
20674
20705
  "description": "Title of the issue",
@@ -26189,7 +26220,8 @@
26189
26220
  "security",
26190
26221
  "external/cwe/cwe-022"
26191
26222
  ],
26192
- "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 ..."
26223
+ "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 ...",
26224
+ "help_uri": "https://codeql.github.com/"
26193
26225
  },
26194
26226
  "tool": {
26195
26227
  "name": "CodeQL",
@@ -26259,7 +26291,8 @@
26259
26291
  "security",
26260
26292
  "external/cwe/cwe-022"
26261
26293
  ],
26262
- "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 ..."
26294
+ "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 ...",
26295
+ "help_uri": "https://codeql.github.com/"
26263
26296
  },
26264
26297
  "tool": {
26265
26298
  "name": "CodeQL",