@octokit/openapi 6.2.1 → 6.4.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 (28) hide show
  1. package/generated/api.github.com.deref.json +7689 -7772
  2. package/generated/api.github.com.json +1344 -1295
  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 +50 -3
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +53 -3
  7. package/generated/ghes-3.2.deref.json +73 -7
  8. package/generated/ghes-3.2.json +89 -28
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +31 -4
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +96 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +92 -1
  12. package/generated/ghes-3.3.deref.json +76 -10
  13. package/generated/ghes-3.3.json +92 -31
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  16. package/generated/ghes-3.4.deref.json +97 -19
  17. package/generated/ghes-3.4.json +105 -40
  18. package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +71 -25
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +328 -574
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +206 -272
  21. package/generated/ghes-3.5.deref.json +115 -52
  22. package/generated/ghes-3.5.json +131 -77
  23. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +97 -4
  24. package/generated/github.ae-diff-to-api.github.com.deref.json +423 -1
  25. package/generated/github.ae-diff-to-api.github.com.json +294 -12
  26. package/generated/github.ae.deref.json +92 -119
  27. package/generated/github.ae.json +118 -95
  28. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.2.1",
4
+ "version": "6.4.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -6635,7 +6635,7 @@
6635
6635
  "selected_repository_ids": {
6636
6636
  "type": "array",
6637
6637
  "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
6638
- "items": { "type": "string" }
6638
+ "items": { "type": "integer" }
6639
6639
  }
6640
6640
  },
6641
6641
  "required": ["visibility"]
@@ -6646,7 +6646,7 @@
6646
6646
  "encrypted_value": "c2VjcmV0",
6647
6647
  "key_id": "012345678912345678",
6648
6648
  "visibility": "selected",
6649
- "selected_repository_ids": ["1296269", "1296280"]
6649
+ "selected_repository_ids": [1296269, 1296280]
6650
6650
  }
6651
6651
  }
6652
6652
  }
@@ -6671,7 +6671,9 @@
6671
6671
  "category": "actions",
6672
6672
  "subcategory": "secrets"
6673
6673
  },
6674
- "x-octokit": {}
6674
+ "x-octokit": {
6675
+ "diff": { "api.github.com.json": { "type": "changed" } }
6676
+ }
6675
6677
  },
6676
6678
  "delete": {
6677
6679
  "summary": "Delete an organization secret",
@@ -13728,7 +13730,9 @@
13728
13730
  "category": "repos",
13729
13731
  "subcategory": "autolinks"
13730
13732
  },
13731
- "x-octokit": {}
13733
+ "x-octokit": {
13734
+ "diff": { "api.github.com.json": { "type": "changed" } }
13735
+ }
13732
13736
  },
13733
13737
  "post": {
13734
13738
  "summary": "Create an autolink reference for a repository",
@@ -13756,7 +13760,7 @@
13756
13760
  },
13757
13761
  "url_template": {
13758
13762
  "type": "string",
13759
- "description": "The URL must contain <num> for the reference number."
13763
+ "description": "The URL must contain `<num>` for the reference number."
13760
13764
  }
13761
13765
  },
13762
13766
  "required": ["key_prefix", "url_template"]
@@ -13798,7 +13802,9 @@
13798
13802
  "category": "repos",
13799
13803
  "subcategory": "autolinks"
13800
13804
  },
13801
- "x-octokit": {}
13805
+ "x-octokit": {
13806
+ "diff": { "api.github.com.json": { "type": "changed" } }
13807
+ }
13802
13808
  }
13803
13809
  },
13804
13810
  "/repos/{owner}/{repo}/autolinks/{autolink_id}": {
@@ -13836,7 +13842,9 @@
13836
13842
  "category": "repos",
13837
13843
  "subcategory": "autolinks"
13838
13844
  },
13839
- "x-octokit": {}
13845
+ "x-octokit": {
13846
+ "diff": { "api.github.com.json": { "type": "changed" } }
13847
+ }
13840
13848
  },
13841
13849
  "delete": {
13842
13850
  "summary": "Delete an autolink reference from a repository",
@@ -17161,7 +17169,6 @@
17161
17169
  "200": {
17162
17170
  "description": "Response",
17163
17171
  "content": {
17164
- "application/json+sarif": { "schema": { "type": "string" } },
17165
17172
  "application/json": {
17166
17173
  "schema": {
17167
17174
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -17171,6 +17178,14 @@
17171
17178
  "$ref": "#/components/examples/code-scanning-analysis-default"
17172
17179
  }
17173
17180
  }
17181
+ },
17182
+ "application/json+sarif": {
17183
+ "schema": { "type": "object", "additionalProperties": true },
17184
+ "examples": {
17185
+ "response": {
17186
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
17187
+ }
17188
+ }
17174
17189
  }
17175
17190
  }
17176
17191
  },
@@ -17290,6 +17305,15 @@
17290
17305
  }
17291
17306
  },
17292
17307
  "required": ["commit_sha", "ref", "sarif"]
17308
+ },
17309
+ "examples": {
17310
+ "default": {
17311
+ "value": {
17312
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
17313
+ "ref": "refs/heads/master",
17314
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjyw7uk9uD8tgmsBbFMPnU1bV2ZhkJNkuolUiWys3UPWzs5aaIUz9TBe8zMb+6+nT+6fLy91dlE3xzeDDT4zYszb0bW6NjJd0Rvn2EnLvWLFSdKPpBzInzfRgu8ETyMcH8nIfMnJCeC2PyfTA+UKngcnGH7Hw2hGkVQs5YlIRCtdWZYQ4/73es2JlxkfViOEIhoWJq5Oo6UBBfiKIqFBWhiE3jJGbFwVoxBHTRSuIS67sMeplei24X20shLjG+8gqbKC/bESiNMC+wd5q5id0yeS7CJEqXzmrTWNq3k05l84P6f4/bEmXFJjI0fIt1BGQssUnUDkBYeVhE5TqPnMH3jqogDcP0zKcTgLPTMSzOjhbjuVOmW23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
17315
+ }
17316
+ }
17293
17317
  }
17294
17318
  }
17295
17319
  }
@@ -19705,7 +19729,7 @@
19705
19729
  }
19706
19730
  },
19707
19731
  "deployment_branch_policy": {
19708
- "$ref": "#/components/schemas/deployment_branch_policy"
19732
+ "$ref": "#/components/schemas/deployment-branch-policy"
19709
19733
  }
19710
19734
  },
19711
19735
  "additionalProperties": false
@@ -22470,7 +22494,7 @@
22470
22494
  "operationId": "issues/remove-assignees",
22471
22495
  "externalDocs": {
22472
22496
  "description": "API method documentation",
22473
- "url": "https://docs.github.com/github-ae@latest/rest/reference/issues#remove-assignees-from-an-issue"
22497
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
22474
22498
  },
22475
22499
  "parameters": [
22476
22500
  { "$ref": "#/components/parameters/owner" },
@@ -22478,6 +22502,7 @@
22478
22502
  { "$ref": "#/components/parameters/issue-number" }
22479
22503
  ],
22480
22504
  "requestBody": {
22505
+ "required": true,
22481
22506
  "content": {
22482
22507
  "application/json": {
22483
22508
  "schema": {
@@ -22488,7 +22513,8 @@
22488
22513
  "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._",
22489
22514
  "items": { "type": "string" }
22490
22515
  }
22491
- }
22516
+ },
22517
+ "required": ["assignees"]
22492
22518
  },
22493
22519
  "examples": {
22494
22520
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -34124,52 +34150,6 @@
34124
34150
  "x-octokit": {}
34125
34151
  }
34126
34152
  },
34127
- "/repos/{owner}/{repo}/community/code_of_conduct": {
34128
- "get": {
34129
- "summary": "Get the code of conduct for a repository",
34130
- "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.",
34131
- "tags": ["codes-of-conduct"],
34132
- "operationId": "codes-of-conduct/get-for-repo",
34133
- "externalDocs": {
34134
- "description": "API method documentation",
34135
- "url": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository"
34136
- },
34137
- "parameters": [
34138
- { "$ref": "#/components/parameters/owner" },
34139
- { "$ref": "#/components/parameters/repo" }
34140
- ],
34141
- "responses": {
34142
- "200": {
34143
- "description": "Response",
34144
- "content": {
34145
- "application/json": {
34146
- "schema": { "$ref": "#/components/schemas/code-of-conduct" },
34147
- "examples": {
34148
- "default": { "$ref": "#/components/examples/code-of-conduct" }
34149
- }
34150
- }
34151
- }
34152
- }
34153
- },
34154
- "x-github": {
34155
- "githubCloudOnly": false,
34156
- "enabledForGitHubApps": true,
34157
- "previews": [
34158
- {
34159
- "required": true,
34160
- "name": "scarlet-witch",
34161
- "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```"
34162
- }
34163
- ],
34164
- "category": "codes-of-conduct",
34165
- "subcategory": null,
34166
- "removalDate": "2021-09-29",
34167
- "deprecationDate": "2021-09-29"
34168
- },
34169
- "deprecated": true,
34170
- "x-octokit": {}
34171
- }
34172
- },
34173
34153
  "/applications/grants": {
34174
34154
  "get": {
34175
34155
  "summary": "List your grants",
@@ -34706,20 +34686,6 @@
34706
34686
  "responses": { "501": { "description": "Not Implemented" } }
34707
34687
  }
34708
34688
  },
34709
- "/orgs/{org_id}/codespaces": {
34710
- "get": {
34711
- "summary": "List codespaces for the organization",
34712
- "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34713
- "tags": ["codespaces"],
34714
- "operationId": "codespaces/list-in-organization",
34715
- "externalDocs": {
34716
- "description": "API method documentation",
34717
- "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
34718
- },
34719
- "x-octokit": { "api.github.com.json": "removed" },
34720
- "responses": { "501": { "description": "Not Implemented" } }
34721
- }
34722
- },
34723
34689
  "/orgs/{org}/actions/cache/usage": {
34724
34690
  "get": {
34725
34691
  "summary": "Get GitHub Actions cache usage for an organization",
@@ -35008,6 +34974,20 @@
35008
34974
  "responses": { "501": { "description": "Not Implemented" } }
35009
34975
  }
35010
34976
  },
34977
+ "/orgs/{org}/codespaces": {
34978
+ "get": {
34979
+ "summary": "List codespaces for the organization",
34980
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34981
+ "tags": ["codespaces"],
34982
+ "operationId": "codespaces/list-in-organization",
34983
+ "externalDocs": {
34984
+ "description": "API method documentation",
34985
+ "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
34986
+ },
34987
+ "x-octokit": { "api.github.com.json": "removed" },
34988
+ "responses": { "501": { "description": "Not Implemented" } }
34989
+ }
34990
+ },
35011
34991
  "/orgs/{org}/credential-authorizations": {
35012
34992
  "get": {
35013
34993
  "summary": "List SAML SSO authorizations for an organization",
@@ -40357,7 +40337,7 @@
40357
40337
  "truncated": { "type": "boolean" }
40358
40338
  }
40359
40339
  },
40360
- "author_association": {
40340
+ "author-association": {
40361
40341
  "title": "author_association",
40362
40342
  "type": "string",
40363
40343
  "example": "OWNER",
@@ -40406,7 +40386,7 @@
40406
40386
  "example": "2011-04-18T23:23:56Z"
40407
40387
  },
40408
40388
  "author_association": {
40409
- "$ref": "#/components/schemas/author_association"
40389
+ "$ref": "#/components/schemas/author-association"
40410
40390
  }
40411
40391
  },
40412
40392
  "required": [
@@ -40814,7 +40794,7 @@
40814
40794
  "$ref": "#/components/schemas/nullable-integration"
40815
40795
  },
40816
40796
  "author_association": {
40817
- "$ref": "#/components/schemas/author_association"
40797
+ "$ref": "#/components/schemas/author-association"
40818
40798
  },
40819
40799
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
40820
40800
  },
@@ -44442,7 +44422,7 @@
44442
44422
  },
44443
44423
  "required": ["enabled"]
44444
44424
  },
44445
- "referenced_workflow": {
44425
+ "referenced-workflow": {
44446
44426
  "title": "Referenced workflow",
44447
44427
  "description": "A workflow referenced/reused by the initial caller workflow",
44448
44428
  "type": "object",
@@ -44590,7 +44570,7 @@
44590
44570
  "referenced_workflows": {
44591
44571
  "type": "array",
44592
44572
  "nullable": true,
44593
- "items": { "$ref": "#/components/schemas/referenced_workflow" }
44573
+ "items": { "$ref": "#/components/schemas/referenced-workflow" }
44594
44574
  },
44595
44575
  "event": { "type": "string", "example": "push" },
44596
44576
  "status": {
@@ -46824,7 +46804,7 @@
46824
46804
  "created_at": { "type": "string", "format": "date-time" },
46825
46805
  "updated_at": { "type": "string", "format": "date-time" },
46826
46806
  "author_association": {
46827
- "$ref": "#/components/schemas/author_association"
46807
+ "$ref": "#/components/schemas/author-association"
46828
46808
  },
46829
46809
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
46830
46810
  },
@@ -46869,7 +46849,7 @@
46869
46849
  "properties": { "href": { "type": "string" } },
46870
46850
  "required": ["href"]
46871
46851
  },
46872
- "auto_merge": {
46852
+ "auto-merge": {
46873
46853
  "title": "Auto merge",
46874
46854
  "description": "The status of auto merging a pull request.",
46875
46855
  "type": "object",
@@ -47085,9 +47065,9 @@
47085
47065
  ]
47086
47066
  },
47087
47067
  "author_association": {
47088
- "$ref": "#/components/schemas/author_association"
47068
+ "$ref": "#/components/schemas/author-association"
47089
47069
  },
47090
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
47070
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
47091
47071
  "draft": {
47092
47072
  "description": "Indicates whether or not the pull request is a draft.",
47093
47073
  "example": false,
@@ -47886,7 +47866,7 @@
47886
47866
  "enum": ["User", "Team"],
47887
47867
  "example": "User"
47888
47868
  },
47889
- "deployment_branch_policy": {
47869
+ "deployment-branch-policy": {
47890
47870
  "type": "object",
47891
47871
  "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
47892
47872
  "properties": {
@@ -48007,7 +47987,7 @@
48007
47987
  }
48008
47988
  },
48009
47989
  "deployment_branch_policy": {
48010
- "$ref": "#/components/schemas/deployment_branch_policy"
47990
+ "$ref": "#/components/schemas/deployment-branch-policy"
48011
47991
  }
48012
47992
  },
48013
47993
  "required": [
@@ -48072,7 +48052,7 @@
48072
48052
  },
48073
48053
  "issue_url": { "type": "string", "format": "uri" },
48074
48054
  "author_association": {
48075
- "$ref": "#/components/schemas/author_association"
48055
+ "$ref": "#/components/schemas/author-association"
48076
48056
  },
48077
48057
  "performed_via_github_app": {
48078
48058
  "$ref": "#/components/schemas/nullable-integration"
@@ -48652,7 +48632,7 @@
48652
48632
  "$ref": "#/components/schemas/nullable-integration"
48653
48633
  },
48654
48634
  "author_association": {
48655
- "$ref": "#/components/schemas/author_association"
48635
+ "$ref": "#/components/schemas/author-association"
48656
48636
  },
48657
48637
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
48658
48638
  },
@@ -48782,7 +48762,7 @@
48782
48762
  },
48783
48763
  "rename": { "$ref": "#/components/schemas/issue-event-rename" },
48784
48764
  "author_association": {
48785
- "$ref": "#/components/schemas/author_association"
48765
+ "$ref": "#/components/schemas/author-association"
48786
48766
  },
48787
48767
  "lock_reason": { "type": "string", "nullable": true },
48788
48768
  "performed_via_github_app": {
@@ -49485,7 +49465,7 @@
49485
49465
  },
49486
49466
  "issue_url": { "type": "string", "format": "uri" },
49487
49467
  "author_association": {
49488
- "$ref": "#/components/schemas/author_association"
49468
+ "$ref": "#/components/schemas/author-association"
49489
49469
  },
49490
49470
  "performed_via_github_app": {
49491
49471
  "$ref": "#/components/schemas/nullable-integration"
@@ -49700,7 +49680,7 @@
49700
49680
  "body_html": { "type": "string" },
49701
49681
  "body_text": { "type": "string" },
49702
49682
  "author_association": {
49703
- "$ref": "#/components/schemas/author_association"
49683
+ "$ref": "#/components/schemas/author-association"
49704
49684
  }
49705
49685
  },
49706
49686
  "required": [
@@ -49807,7 +49787,7 @@
49807
49787
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
49808
49788
  },
49809
49789
  "author_association": {
49810
- "$ref": "#/components/schemas/author_association"
49790
+ "$ref": "#/components/schemas/author-association"
49811
49791
  },
49812
49792
  "_links": {
49813
49793
  "type": "object",
@@ -51250,9 +51230,9 @@
51250
51230
  ]
51251
51231
  },
51252
51232
  "author_association": {
51253
- "$ref": "#/components/schemas/author_association"
51233
+ "$ref": "#/components/schemas/author-association"
51254
51234
  },
51255
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
51235
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
51256
51236
  "draft": {
51257
51237
  "description": "Indicates whether or not the pull request is a draft.",
51258
51238
  "example": false,
@@ -51407,7 +51387,7 @@
51407
51387
  "body_html": { "type": "string" },
51408
51388
  "body_text": { "type": "string" },
51409
51389
  "author_association": {
51410
- "$ref": "#/components/schemas/author_association"
51390
+ "$ref": "#/components/schemas/author-association"
51411
51391
  }
51412
51392
  },
51413
51393
  "required": [
@@ -51482,7 +51462,7 @@
51482
51462
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
51483
51463
  },
51484
51464
  "author_association": {
51485
- "$ref": "#/components/schemas/author_association"
51465
+ "$ref": "#/components/schemas/author-association"
51486
51466
  },
51487
51467
  "_links": {
51488
51468
  "type": "object",
@@ -52174,7 +52154,7 @@
52174
52154
  "body": { "type": "string" },
52175
52155
  "score": { "type": "number" },
52176
52156
  "author_association": {
52177
- "$ref": "#/components/schemas/author_association"
52157
+ "$ref": "#/components/schemas/author-association"
52178
52158
  },
52179
52159
  "draft": { "type": "boolean" },
52180
52160
  "repository": { "$ref": "#/components/schemas/repository" },
@@ -62684,7 +62664,7 @@
62684
62664
  ]
62685
62665
  },
62686
62666
  "code-scanning-analysis-default": {
62687
- "summary": "Default response",
62667
+ "summary": "application/json response",
62688
62668
  "value": {
62689
62669
  "ref": "refs/heads/main",
62690
62670
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -62703,6 +62683,49 @@
62703
62683
  "warning": ""
62704
62684
  }
62705
62685
  },
62686
+ "code-scanning-analysis-sarif": {
62687
+ "summary": "application/json+sarif response",
62688
+ "value": {
62689
+ "runs": [
62690
+ {
62691
+ "tool": {
62692
+ "driver": {
62693
+ "name": "CodeQL",
62694
+ "organization": "GitHub",
62695
+ "semanticVersion": "1.0.0",
62696
+ "rules": [
62697
+ {
62698
+ "id": "js/unused-local-variable",
62699
+ "name": "js/unused-local-variable"
62700
+ }
62701
+ ]
62702
+ }
62703
+ },
62704
+ "results": [
62705
+ {
62706
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
62707
+ "message": { "text": "Unused variable foo." },
62708
+ "locations": [
62709
+ {
62710
+ "physicalLocation": {
62711
+ "artifactLocation": { "uri": "file1.js" },
62712
+ "region": { "startLine": 1 }
62713
+ }
62714
+ }
62715
+ ],
62716
+ "ruleId": "js/unused-local-variable",
62717
+ "properties": [
62718
+ { "github/alertNumber": 2 },
62719
+ {
62720
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
62721
+ }
62722
+ ]
62723
+ }
62724
+ ]
62725
+ }
62726
+ ]
62727
+ }
62728
+ },
62706
62729
  "code-scanning-analysis-deletion": {
62707
62730
  "summary": "Default response",
62708
62731
  "value": {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "6.2.1",
6
+ "version": "6.4.0",
7
7
  "description": "GitHub's official OpenAPI spec with Octokit extensions",
8
8
  "main": "index.js",
9
9
  "files": [