@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.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +619 -24
  2. package/generated/api.github.com.json +44 -20
  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 +356 -4
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +19 -4
  7. package/generated/ghes-3.2.deref.json +460 -15
  8. package/generated/ghes-3.2.json +31 -15
  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 +467 -16
  12. package/generated/ghes-3.3.json +38 -16
  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 +495 -16
  16. package/generated/ghes-3.4.json +38 -16
  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 +418 -4
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +22 -4
  21. package/generated/ghes-3.5.deref.json +508 -16
  22. package/generated/ghes-3.5.json +38 -16
  23. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +15 -0
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +28 -2
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +16 -2
  26. package/generated/ghes-3.6.deref.json +508 -16
  27. package/generated/ghes-3.6.json +38 -16
  28. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +15 -0
  29. package/generated/github.ae-diff-to-api.github.com.deref.json +363 -5
  30. package/generated/github.ae-diff-to-api.github.com.json +26 -5
  31. package/generated/github.ae.deref.json +467 -16
  32. package/generated/github.ae.json +38 -16
  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.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": {
@@ -14539,17 +14539,6 @@
14539
14539
  }
14540
14540
  }
14541
14541
  },
14542
- "302": {
14543
- "description": "Response if requester is not an organization member",
14544
- "headers": {
14545
- "Location": {
14546
- "example": "https://api.github.com/orgs/github/public_members",
14547
- "schema": {
14548
- "type": "string"
14549
- }
14550
- }
14551
- }
14552
- },
14553
14542
  "422": {
14554
14543
  "$ref": "#/components/responses/validation_failed"
14555
14544
  }
@@ -23872,6 +23861,11 @@
23872
23861
  "url_template": {
23873
23862
  "type": "string",
23874
23863
  "description": "The URL must contain `<num>` for the reference number."
23864
+ },
23865
+ "is_alphanumeric": {
23866
+ "type": "boolean",
23867
+ "default": "true",
23868
+ "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."
23875
23869
  }
23876
23870
  },
23877
23871
  "required": [
@@ -23883,7 +23877,8 @@
23883
23877
  "default": {
23884
23878
  "value": {
23885
23879
  "key_prefix": "TICKET-",
23886
- "url_template": "https://example.com/TICKET?query=<num>"
23880
+ "url_template": "https://example.com/TICKET?query=<num>",
23881
+ "is_alphanumeric": true
23887
23882
  }
23888
23883
  }
23889
23884
  }
@@ -30005,6 +30000,9 @@
30005
30000
  },
30006
30001
  "500": {
30007
30002
  "$ref": "#/components/responses/internal_error"
30003
+ },
30004
+ "503": {
30005
+ "$ref": "#/components/responses/service_unavailable"
30008
30006
  }
30009
30007
  },
30010
30008
  "x-github": {
@@ -30414,6 +30412,9 @@
30414
30412
  },
30415
30413
  "500": {
30416
30414
  "$ref": "#/components/responses/internal_error"
30415
+ },
30416
+ "503": {
30417
+ "$ref": "#/components/responses/service_unavailable"
30417
30418
  }
30418
30419
  },
30419
30420
  "x-github": {
@@ -40524,6 +40525,9 @@
40524
40525
  },
40525
40526
  "500": {
40526
40527
  "$ref": "#/components/responses/internal_error"
40528
+ },
40529
+ "503": {
40530
+ "$ref": "#/components/responses/service_unavailable"
40527
40531
  }
40528
40532
  },
40529
40533
  "x-github": {
@@ -41071,6 +41075,9 @@
41071
41075
  },
41072
41076
  "500": {
41073
41077
  "$ref": "#/components/responses/internal_error"
41078
+ },
41079
+ "503": {
41080
+ "$ref": "#/components/responses/service_unavailable"
41074
41081
  }
41075
41082
  },
41076
41083
  "x-github": {
@@ -45245,7 +45252,7 @@
45245
45252
  "/repos/{template_owner}/{template_repo}/generate": {
45246
45253
  "post": {
45247
45254
  "summary": "Create a repository using a template",
45248
- "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.6/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.6/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",
45255
+ "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.6/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.6/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",
45249
45256
  "tags": [
45250
45257
  "repos"
45251
45258
  ],
@@ -60909,6 +60916,10 @@
60909
60916
  "starred_at": {
60910
60917
  "type": "string",
60911
60918
  "example": "\"2020-07-09T00:17:42Z\""
60919
+ },
60920
+ "anonymous_access_enabled": {
60921
+ "type": "boolean",
60922
+ "description": "Whether anonymous git access is enabled for this repository"
60912
60923
  }
60913
60924
  },
60914
60925
  "required": [
@@ -65007,6 +65018,10 @@
65007
65018
  "starred_at": {
65008
65019
  "type": "string",
65009
65020
  "example": "\"2020-07-09T00:17:42Z\""
65021
+ },
65022
+ "anonymous_access_enabled": {
65023
+ "type": "boolean",
65024
+ "description": "Whether anonymous git access is enabled for this repository"
65010
65025
  }
65011
65026
  },
65012
65027
  "required": [
@@ -66224,6 +66239,11 @@
66224
66239
  "nullable": true,
66225
66240
  "type": "string",
66226
66241
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
66242
+ },
66243
+ "help_uri": {
66244
+ "nullable": true,
66245
+ "type": "string",
66246
+ "description": "A link to the documentation for the rule used to detect the alert."
66227
66247
  }
66228
66248
  }
66229
66249
  },
@@ -94730,7 +94750,8 @@
94730
94750
  "security",
94731
94751
  "external/cwe/cwe-022"
94732
94752
  ],
94733
- "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 ..."
94753
+ "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 ...",
94754
+ "help_uri": "https://codeql.github.com/"
94734
94755
  },
94735
94756
  "tool": {
94736
94757
  "name": "CodeQL",
@@ -94802,7 +94823,8 @@
94802
94823
  "security",
94803
94824
  "external/cwe/cwe-022"
94804
94825
  ],
94805
- "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 ..."
94826
+ "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 ...",
94827
+ "help_uri": "https://codeql.github.com/"
94806
94828
  },
94807
94829
  "tool": {
94808
94830
  "name": "CodeQL",
@@ -8415,6 +8415,11 @@
8415
8415
  "removed": [
8416
8416
  "is_alphanumeric"
8417
8417
  ]
8418
+ },
8419
+ "required_changed": {
8420
+ "removed": [
8421
+ "is_alphanumeric"
8422
+ ]
8418
8423
  }
8419
8424
  }
8420
8425
  }
@@ -8437,6 +8442,11 @@
8437
8442
  "removed": [
8438
8443
  "is_alphanumeric"
8439
8444
  ]
8445
+ },
8446
+ "required_changed": {
8447
+ "removed": [
8448
+ "is_alphanumeric"
8449
+ ]
8440
8450
  }
8441
8451
  }
8442
8452
  }
@@ -8460,6 +8470,11 @@
8460
8470
  "removed": [
8461
8471
  "is_alphanumeric"
8462
8472
  ]
8473
+ },
8474
+ "required_changed": {
8475
+ "removed": [
8476
+ "is_alphanumeric"
8477
+ ]
8463
8478
  }
8464
8479
  }
8465
8480
  }