@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": {
@@ -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
  }
@@ -8540,6 +8546,11 @@
8540
8546
  },
8541
8547
  "state_reason": {
8542
8548
  "type": "string",
8549
+ "enum": [
8550
+ "completed",
8551
+ "not_planned",
8552
+ "reopened"
8553
+ ],
8543
8554
  "nullable": true,
8544
8555
  "description": "The reason for the current state",
8545
8556
  "example": "not_planned"
@@ -9935,7 +9946,7 @@
9935
9946
  "/repos/{template_owner}/{template_repo}/generate": {
9936
9947
  "post": {
9937
9948
  "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. 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",
9949
+ "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
9950
  "tags": [
9940
9951
  "repos"
9941
9952
  ],
@@ -15142,6 +15153,10 @@
15142
15153
  "starred_at": {
15143
15154
  "type": "string",
15144
15155
  "example": "\"2020-07-09T00:17:42Z\""
15156
+ },
15157
+ "anonymous_access_enabled": {
15158
+ "type": "boolean",
15159
+ "description": "Whether anonymous git access is enabled for this repository"
15145
15160
  }
15146
15161
  },
15147
15162
  "required": [
@@ -15270,7 +15285,12 @@
15270
15285
  "description": "The reason for the current state",
15271
15286
  "example": "not_planned",
15272
15287
  "type": "string",
15273
- "nullable": true
15288
+ "nullable": true,
15289
+ "enum": [
15290
+ "completed",
15291
+ "reopened",
15292
+ "not_planned"
15293
+ ]
15274
15294
  },
15275
15295
  "title": {
15276
15296
  "description": "Title of the issue",
@@ -21005,6 +21025,10 @@
21005
21025
  "starred_at": {
21006
21026
  "type": "string",
21007
21027
  "example": "\"2020-07-09T00:17:42Z\""
21028
+ },
21029
+ "anonymous_access_enabled": {
21030
+ "type": "boolean",
21031
+ "description": "Whether anonymous git access is enabled for this repository"
21008
21032
  }
21009
21033
  },
21010
21034
  "required": [
@@ -21689,6 +21713,11 @@
21689
21713
  "nullable": true,
21690
21714
  "type": "string",
21691
21715
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
21716
+ },
21717
+ "help_uri": {
21718
+ "nullable": true,
21719
+ "type": "string",
21720
+ "description": "A link to the documentation for the rule used to detect the alert."
21692
21721
  }
21693
21722
  }
21694
21723
  },
@@ -22301,7 +22330,12 @@
22301
22330
  "description": "The reason for the current state",
22302
22331
  "example": "not_planned",
22303
22332
  "type": "string",
22304
- "nullable": true
22333
+ "nullable": true,
22334
+ "enum": [
22335
+ "completed",
22336
+ "reopened",
22337
+ "not_planned"
22338
+ ]
22305
22339
  },
22306
22340
  "title": {
22307
22341
  "description": "Title of the issue",
@@ -27752,7 +27786,8 @@
27752
27786
  "security",
27753
27787
  "external/cwe/cwe-022"
27754
27788
  ],
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 ..."
27789
+ "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 ...",
27790
+ "help_uri": "https://codeql.github.com/"
27756
27791
  },
27757
27792
  "tool": {
27758
27793
  "name": "CodeQL",
@@ -27823,7 +27858,8 @@
27823
27858
  "security",
27824
27859
  "external/cwe/cwe-022"
27825
27860
  ],
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 ..."
27861
+ "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 ...",
27862
+ "help_uri": "https://codeql.github.com/"
27827
27863
  },
27828
27864
  "tool": {
27829
27865
  "name": "CodeQL",