@octokit/openapi 6.3.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 +66 -6
  2. package/generated/api.github.com.json +69 -6
  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 +59 -3
  8. package/generated/ghes-3.2.json +62 -3
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +8 -4
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
  12. package/generated/ghes-3.3.deref.json +59 -3
  13. package/generated/ghes-3.3.json +62 -3
  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 +71 -7
  17. package/generated/ghes-3.4.json +66 -7
  18. package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +11086 -112673
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -574
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -263
  21. package/generated/ghes-3.5.deref.json +2642 -294
  22. package/generated/ghes-3.5.json +3173 -606
  23. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +14 -3
  24. package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
  25. package/generated/github.ae-diff-to-api.github.com.json +1 -1
  26. package/generated/github.ae.deref.json +3813 -314
  27. package/generated/github.ae.json +4250 -556
  28. package/package.json +1 -1
@@ -3120,13 +3120,13 @@
3120
3120
  "style": "form"
3121
3121
  },
3122
3122
  {
3123
- "description": "The property by which to sort the results.",
3123
+ "description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
3124
3124
  "in": "query",
3125
3125
  "name": "sort",
3126
3126
  "required": false,
3127
3127
  "schema": {
3128
- "default": "number",
3129
- "enum": ["created", "updated", "number"],
3128
+ "default": "created",
3129
+ "enum": ["created", "number", "updated"],
3130
3130
  "type": "string"
3131
3131
  },
3132
3132
  "style": "form"
@@ -3147,7 +3147,11 @@
3147
3147
  "properties_changed": { "removed": ["tags"] }
3148
3148
  }
3149
3149
  },
3150
- "removed": ["fixed_at", "updated_at"]
3150
+ "removed": [
3151
+ "dismissed_comment",
3152
+ "fixed_at",
3153
+ "updated_at"
3154
+ ]
3151
3155
  }
3152
3156
  }
3153
3157
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -136213,7 +136213,6 @@
136213
136213
  "200": {
136214
136214
  "description": "Response",
136215
136215
  "content": {
136216
- "application/json+sarif": { "schema": { "type": "string" } },
136217
136216
  "application/json": {
136218
136217
  "schema": {
136219
136218
  "type": "object",
@@ -136319,7 +136318,7 @@
136319
136318
  },
136320
136319
  "examples": {
136321
136320
  "response": {
136322
- "summary": "Default response",
136321
+ "summary": "application/json response",
136323
136322
  "value": {
136324
136323
  "ref": "refs/heads/main",
136325
136324
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -136343,6 +136342,54 @@
136343
136342
  }
136344
136343
  }
136345
136344
  }
136345
+ },
136346
+ "application/json+sarif": {
136347
+ "schema": { "type": "object", "additionalProperties": true },
136348
+ "examples": {
136349
+ "response": {
136350
+ "summary": "application/json+sarif response",
136351
+ "value": {
136352
+ "runs": [
136353
+ {
136354
+ "tool": {
136355
+ "driver": {
136356
+ "name": "CodeQL",
136357
+ "organization": "GitHub",
136358
+ "semanticVersion": "1.0.0",
136359
+ "rules": [
136360
+ {
136361
+ "id": "js/unused-local-variable",
136362
+ "name": "js/unused-local-variable"
136363
+ }
136364
+ ]
136365
+ }
136366
+ },
136367
+ "results": [
136368
+ {
136369
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
136370
+ "message": { "text": "Unused variable foo." },
136371
+ "locations": [
136372
+ {
136373
+ "physicalLocation": {
136374
+ "artifactLocation": { "uri": "file1.js" },
136375
+ "region": { "startLine": 1 }
136376
+ }
136377
+ }
136378
+ ],
136379
+ "ruleId": "js/unused-local-variable",
136380
+ "properties": [
136381
+ { "github/alertNumber": 2 },
136382
+ {
136383
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
136384
+ }
136385
+ ]
136386
+ }
136387
+ ]
136388
+ }
136389
+ ]
136390
+ }
136391
+ }
136392
+ }
136346
136393
  }
136347
136394
  }
136348
136395
  },
@@ -136644,6 +136691,15 @@
136644
136691
  }
136645
136692
  },
136646
136693
  "required": ["commit_sha", "ref", "sarif"]
136694
+ },
136695
+ "examples": {
136696
+ "default": {
136697
+ "value": {
136698
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
136699
+ "ref": "refs/heads/master",
136700
+ "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"
136701
+ }
136702
+ }
136647
136703
  }
136648
136704
  }
136649
136705
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -18960,7 +18960,6 @@
18960
18960
  "200": {
18961
18961
  "description": "Response",
18962
18962
  "content": {
18963
- "application/json+sarif": { "schema": { "type": "string" } },
18964
18963
  "application/json": {
18965
18964
  "schema": {
18966
18965
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -18970,6 +18969,14 @@
18970
18969
  "$ref": "#/components/examples/code-scanning-analysis-default"
18971
18970
  }
18972
18971
  }
18972
+ },
18973
+ "application/json+sarif": {
18974
+ "schema": { "type": "object", "additionalProperties": true },
18975
+ "examples": {
18976
+ "response": {
18977
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
18978
+ }
18979
+ }
18973
18980
  }
18974
18981
  }
18975
18982
  },
@@ -19089,6 +19096,15 @@
19089
19096
  }
19090
19097
  },
19091
19098
  "required": ["commit_sha", "ref", "sarif"]
19099
+ },
19100
+ "examples": {
19101
+ "default": {
19102
+ "value": {
19103
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
19104
+ "ref": "refs/heads/master",
19105
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpER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tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
19106
+ }
19107
+ }
19092
19108
  }
19093
19109
  }
19094
19110
  }
@@ -64026,7 +64042,7 @@
64026
64042
  ]
64027
64043
  },
64028
64044
  "code-scanning-analysis-default": {
64029
- "summary": "Default response",
64045
+ "summary": "application/json response",
64030
64046
  "value": {
64031
64047
  "ref": "refs/heads/main",
64032
64048
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -64045,6 +64061,49 @@
64045
64061
  "warning": ""
64046
64062
  }
64047
64063
  },
64064
+ "code-scanning-analysis-sarif": {
64065
+ "summary": "application/json+sarif response",
64066
+ "value": {
64067
+ "runs": [
64068
+ {
64069
+ "tool": {
64070
+ "driver": {
64071
+ "name": "CodeQL",
64072
+ "organization": "GitHub",
64073
+ "semanticVersion": "1.0.0",
64074
+ "rules": [
64075
+ {
64076
+ "id": "js/unused-local-variable",
64077
+ "name": "js/unused-local-variable"
64078
+ }
64079
+ ]
64080
+ }
64081
+ },
64082
+ "results": [
64083
+ {
64084
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
64085
+ "message": { "text": "Unused variable foo." },
64086
+ "locations": [
64087
+ {
64088
+ "physicalLocation": {
64089
+ "artifactLocation": { "uri": "file1.js" },
64090
+ "region": { "startLine": 1 }
64091
+ }
64092
+ }
64093
+ ],
64094
+ "ruleId": "js/unused-local-variable",
64095
+ "properties": [
64096
+ { "github/alertNumber": 2 },
64097
+ {
64098
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
64099
+ }
64100
+ ]
64101
+ }
64102
+ ]
64103
+ }
64104
+ ]
64105
+ }
64106
+ },
64048
64107
  "code-scanning-analysis-deletion": {
64049
64108
  "summary": "Default response",
64050
64109
  "value": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -145443,7 +145443,7 @@
145443
145443
  "operationId": "code-scanning/list-alerts-for-repo",
145444
145444
  "externalDocs": {
145445
145445
  "description": "API method documentation",
145446
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
145446
+ "url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
145447
145447
  },
145448
145448
  "parameters": [
145449
145449
  {
@@ -145516,13 +145516,13 @@
145516
145516
  },
145517
145517
  {
145518
145518
  "name": "sort",
145519
- "description": "The property by which to sort the results.",
145519
+ "description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
145520
145520
  "in": "query",
145521
145521
  "required": false,
145522
145522
  "schema": {
145523
145523
  "type": "string",
145524
- "enum": ["created", "updated", "number"],
145525
- "default": "number"
145524
+ "enum": ["created", "number", "updated"],
145525
+ "default": "created"
145526
145526
  }
145527
145527
  },
145528
145528
  {
@@ -145715,6 +145715,12 @@
145715
145715
  "used in tests"
145716
145716
  ]
145717
145717
  },
145718
+ "dismissed_comment": {
145719
+ "type": "string",
145720
+ "description": "The dismissal comment associated with the dismissal of the alert.",
145721
+ "nullable": true,
145722
+ "maxLength": 280
145723
+ },
145718
145724
  "rule": {
145719
145725
  "type": "object",
145720
145726
  "properties": {
@@ -145847,6 +145853,7 @@
145847
145853
  "dismissed_by": null,
145848
145854
  "dismissed_at": null,
145849
145855
  "dismissed_reason": null,
145856
+ "dismissed_comment": null,
145850
145857
  "rule": {
145851
145858
  "id": "js/zipslip",
145852
145859
  "severity": "error",
@@ -145908,6 +145915,7 @@
145908
145915
  },
145909
145916
  "dismissed_at": "2020-02-14T12:29:18Z",
145910
145917
  "dismissed_reason": "false positive",
145918
+ "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.",
145911
145919
  "rule": {
145912
145920
  "id": "js/zipslip",
145913
145921
  "severity": "error",
@@ -147582,7 +147590,6 @@
147582
147590
  "200": {
147583
147591
  "description": "Response",
147584
147592
  "content": {
147585
- "application/json+sarif": { "schema": { "type": "string" } },
147586
147593
  "application/json": {
147587
147594
  "schema": {
147588
147595
  "type": "object",
@@ -147688,7 +147695,7 @@
147688
147695
  },
147689
147696
  "examples": {
147690
147697
  "response": {
147691
- "summary": "Default response",
147698
+ "summary": "application/json response",
147692
147699
  "value": {
147693
147700
  "ref": "refs/heads/main",
147694
147701
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -147712,6 +147719,54 @@
147712
147719
  }
147713
147720
  }
147714
147721
  }
147722
+ },
147723
+ "application/json+sarif": {
147724
+ "schema": { "type": "object", "additionalProperties": true },
147725
+ "examples": {
147726
+ "response": {
147727
+ "summary": "application/json+sarif response",
147728
+ "value": {
147729
+ "runs": [
147730
+ {
147731
+ "tool": {
147732
+ "driver": {
147733
+ "name": "CodeQL",
147734
+ "organization": "GitHub",
147735
+ "semanticVersion": "1.0.0",
147736
+ "rules": [
147737
+ {
147738
+ "id": "js/unused-local-variable",
147739
+ "name": "js/unused-local-variable"
147740
+ }
147741
+ ]
147742
+ }
147743
+ },
147744
+ "results": [
147745
+ {
147746
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
147747
+ "message": { "text": "Unused variable foo." },
147748
+ "locations": [
147749
+ {
147750
+ "physicalLocation": {
147751
+ "artifactLocation": { "uri": "file1.js" },
147752
+ "region": { "startLine": 1 }
147753
+ }
147754
+ }
147755
+ ],
147756
+ "ruleId": "js/unused-local-variable",
147757
+ "properties": [
147758
+ { "github/alertNumber": 2 },
147759
+ {
147760
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
147761
+ }
147762
+ ]
147763
+ }
147764
+ ]
147765
+ }
147766
+ ]
147767
+ }
147768
+ }
147769
+ }
147715
147770
  }
147716
147771
  }
147717
147772
  },
@@ -148013,6 +148068,15 @@
148013
148068
  }
148014
148069
  },
148015
148070
  "required": ["commit_sha", "ref", "sarif"]
148071
+ },
148072
+ "examples": {
148073
+ "default": {
148074
+ "value": {
148075
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
148076
+ "ref": "refs/heads/master",
148077
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsW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W23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
148078
+ }
148079
+ }
148016
148080
  }
148017
148081
  }
148018
148082
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.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" },
@@ -19908,7 +19908,7 @@
19908
19908
  "operationId": "code-scanning/list-alerts-for-repo",
19909
19909
  "externalDocs": {
19910
19910
  "description": "API method documentation",
19911
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
19911
+ "url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
19912
19912
  },
19913
19913
  "parameters": [
19914
19914
  { "$ref": "#/components/parameters/owner" },
@@ -19921,13 +19921,13 @@
19921
19921
  { "$ref": "#/components/parameters/direction" },
19922
19922
  {
19923
19923
  "name": "sort",
19924
- "description": "The property by which to sort the results.",
19924
+ "description": "The property by which to sort the results. . `number` is deprecated - we recommend that you use `created` instead.",
19925
19925
  "in": "query",
19926
19926
  "required": false,
19927
19927
  "schema": {
19928
19928
  "type": "string",
19929
- "enum": ["created", "updated", "number"],
19930
- "default": "number"
19929
+ "enum": ["created", "number", "updated"],
19930
+ "default": "created"
19931
19931
  }
19932
19932
  },
19933
19933
  {
@@ -20254,7 +20254,6 @@
20254
20254
  "200": {
20255
20255
  "description": "Response",
20256
20256
  "content": {
20257
- "application/json+sarif": { "schema": { "type": "string" } },
20258
20257
  "application/json": {
20259
20258
  "schema": {
20260
20259
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -20264,6 +20263,14 @@
20264
20263
  "$ref": "#/components/examples/code-scanning-analysis-default"
20265
20264
  }
20266
20265
  }
20266
+ },
20267
+ "application/json+sarif": {
20268
+ "schema": { "type": "object", "additionalProperties": true },
20269
+ "examples": {
20270
+ "response": {
20271
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
20272
+ }
20273
+ }
20267
20274
  }
20268
20275
  }
20269
20276
  },
@@ -20383,6 +20390,15 @@
20383
20390
  }
20384
20391
  },
20385
20392
  "required": ["commit_sha", "ref", "sarif"]
20393
+ },
20394
+ "examples": {
20395
+ "default": {
20396
+ "value": {
20397
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
20398
+ "ref": "refs/heads/master",
20399
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4c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ohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
20400
+ }
20401
+ }
20386
20402
  }
20387
20403
  }
20388
20404
  }
@@ -66131,7 +66147,7 @@
66131
66147
  ]
66132
66148
  },
66133
66149
  "code-scanning-analysis-default": {
66134
- "summary": "Default response",
66150
+ "summary": "application/json response",
66135
66151
  "value": {
66136
66152
  "ref": "refs/heads/main",
66137
66153
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -66150,6 +66166,49 @@
66150
66166
  "warning": ""
66151
66167
  }
66152
66168
  },
66169
+ "code-scanning-analysis-sarif": {
66170
+ "summary": "application/json+sarif response",
66171
+ "value": {
66172
+ "runs": [
66173
+ {
66174
+ "tool": {
66175
+ "driver": {
66176
+ "name": "CodeQL",
66177
+ "organization": "GitHub",
66178
+ "semanticVersion": "1.0.0",
66179
+ "rules": [
66180
+ {
66181
+ "id": "js/unused-local-variable",
66182
+ "name": "js/unused-local-variable"
66183
+ }
66184
+ ]
66185
+ }
66186
+ },
66187
+ "results": [
66188
+ {
66189
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
66190
+ "message": { "text": "Unused variable foo." },
66191
+ "locations": [
66192
+ {
66193
+ "physicalLocation": {
66194
+ "artifactLocation": { "uri": "file1.js" },
66195
+ "region": { "startLine": 1 }
66196
+ }
66197
+ }
66198
+ ],
66199
+ "ruleId": "js/unused-local-variable",
66200
+ "properties": [
66201
+ { "github/alertNumber": 2 },
66202
+ {
66203
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
66204
+ }
66205
+ ]
66206
+ }
66207
+ ]
66208
+ }
66209
+ ]
66210
+ }
66211
+ },
66153
66212
  "code-scanning-analysis-deletion": {
66154
66213
  "summary": "Default response",
66155
66214
  "value": {