@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
@@ -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" },
@@ -164587,13 +164587,13 @@
164587
164587
  },
164588
164588
  {
164589
164589
  "name": "sort",
164590
- "description": "The property by which to sort the results.",
164590
+ "description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
164591
164591
  "in": "query",
164592
164592
  "required": false,
164593
164593
  "schema": {
164594
164594
  "type": "string",
164595
- "enum": ["created", "updated", "number"],
164596
- "default": "number"
164595
+ "enum": ["created", "number", "updated"],
164596
+ "default": "created"
164597
164597
  }
164598
164598
  },
164599
164599
  {
@@ -166683,7 +166683,6 @@
166683
166683
  "200": {
166684
166684
  "description": "Response",
166685
166685
  "content": {
166686
- "application/json+sarif": { "schema": { "type": "string" } },
166687
166686
  "application/json": {
166688
166687
  "schema": {
166689
166688
  "type": "object",
@@ -166789,7 +166788,7 @@
166789
166788
  },
166790
166789
  "examples": {
166791
166790
  "response": {
166792
- "summary": "Default response",
166791
+ "summary": "application/json response",
166793
166792
  "value": {
166794
166793
  "ref": "refs/heads/main",
166795
166794
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -166813,6 +166812,54 @@
166813
166812
  }
166814
166813
  }
166815
166814
  }
166815
+ },
166816
+ "application/json+sarif": {
166817
+ "schema": { "type": "object", "additionalProperties": true },
166818
+ "examples": {
166819
+ "response": {
166820
+ "summary": "application/json+sarif response",
166821
+ "value": {
166822
+ "runs": [
166823
+ {
166824
+ "tool": {
166825
+ "driver": {
166826
+ "name": "CodeQL",
166827
+ "organization": "GitHub",
166828
+ "semanticVersion": "1.0.0",
166829
+ "rules": [
166830
+ {
166831
+ "id": "js/unused-local-variable",
166832
+ "name": "js/unused-local-variable"
166833
+ }
166834
+ ]
166835
+ }
166836
+ },
166837
+ "results": [
166838
+ {
166839
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
166840
+ "message": { "text": "Unused variable foo." },
166841
+ "locations": [
166842
+ {
166843
+ "physicalLocation": {
166844
+ "artifactLocation": { "uri": "file1.js" },
166845
+ "region": { "startLine": 1 }
166846
+ }
166847
+ }
166848
+ ],
166849
+ "ruleId": "js/unused-local-variable",
166850
+ "properties": [
166851
+ { "github/alertNumber": 2 },
166852
+ {
166853
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
166854
+ }
166855
+ ]
166856
+ }
166857
+ ]
166858
+ }
166859
+ ]
166860
+ }
166861
+ }
166862
+ }
166816
166863
  }
166817
166864
  }
166818
166865
  },
@@ -167114,6 +167161,15 @@
167114
167161
  }
167115
167162
  },
167116
167163
  "required": ["commit_sha", "ref", "sarif"]
167164
+ },
167165
+ "examples": {
167166
+ "default": {
167167
+ "value": {
167168
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
167169
+ "ref": "refs/heads/master",
167170
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DM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P8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
167171
+ }
167172
+ }
167117
167173
  }
167118
167174
  }
167119
167175
  }
@@ -203376,6 +203432,10 @@
203376
203432
  "organization": {
203377
203433
  "type": "string",
203378
203434
  "description": "Optional parameter to specify the organization name if forking into an organization."
203435
+ },
203436
+ "name": {
203437
+ "type": "string",
203438
+ "description": "When forking from an existing repository, a new name for the fork."
203379
203439
  }
203380
203440
  }
203381
203441
  }
@@ -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" },
@@ -21006,13 +21006,13 @@
21006
21006
  { "$ref": "#/components/parameters/direction" },
21007
21007
  {
21008
21008
  "name": "sort",
21009
- "description": "The property by which to sort the results.",
21009
+ "description": "The property by which to sort the results. . `number` is deprecated - we recommend that you use `created` instead.",
21010
21010
  "in": "query",
21011
21011
  "required": false,
21012
21012
  "schema": {
21013
21013
  "type": "string",
21014
- "enum": ["created", "updated", "number"],
21015
- "default": "number"
21014
+ "enum": ["created", "number", "updated"],
21015
+ "default": "created"
21016
21016
  }
21017
21017
  },
21018
21018
  {
@@ -21342,7 +21342,6 @@
21342
21342
  "200": {
21343
21343
  "description": "Response",
21344
21344
  "content": {
21345
- "application/json+sarif": { "schema": { "type": "string" } },
21346
21345
  "application/json": {
21347
21346
  "schema": {
21348
21347
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -21352,6 +21351,14 @@
21352
21351
  "$ref": "#/components/examples/code-scanning-analysis-default"
21353
21352
  }
21354
21353
  }
21354
+ },
21355
+ "application/json+sarif": {
21356
+ "schema": { "type": "object", "additionalProperties": true },
21357
+ "examples": {
21358
+ "response": {
21359
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
21360
+ }
21361
+ }
21355
21362
  }
21356
21363
  }
21357
21364
  },
@@ -21471,6 +21478,15 @@
21471
21478
  }
21472
21479
  },
21473
21480
  "required": ["commit_sha", "ref", "sarif"]
21481
+ },
21482
+ "examples": {
21483
+ "default": {
21484
+ "value": {
21485
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
21486
+ "ref": "refs/heads/master",
21487
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeV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ZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
21488
+ }
21489
+ }
21474
21490
  }
21475
21491
  }
21476
21492
  }
@@ -24927,6 +24943,10 @@
24927
24943
  "organization": {
24928
24944
  "type": "string",
24929
24945
  "description": "Optional parameter to specify the organization name if forking into an organization."
24946
+ },
24947
+ "name": {
24948
+ "type": "string",
24949
+ "description": "When forking from an existing repository, a new name for the fork."
24930
24950
  }
24931
24951
  }
24932
24952
  }
@@ -74904,7 +74924,7 @@
74904
74924
  ]
74905
74925
  },
74906
74926
  "code-scanning-analysis-default": {
74907
- "summary": "Default response",
74927
+ "summary": "application/json response",
74908
74928
  "value": {
74909
74929
  "ref": "refs/heads/main",
74910
74930
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -74923,6 +74943,49 @@
74923
74943
  "warning": ""
74924
74944
  }
74925
74945
  },
74946
+ "code-scanning-analysis-sarif": {
74947
+ "summary": "application/json+sarif response",
74948
+ "value": {
74949
+ "runs": [
74950
+ {
74951
+ "tool": {
74952
+ "driver": {
74953
+ "name": "CodeQL",
74954
+ "organization": "GitHub",
74955
+ "semanticVersion": "1.0.0",
74956
+ "rules": [
74957
+ {
74958
+ "id": "js/unused-local-variable",
74959
+ "name": "js/unused-local-variable"
74960
+ }
74961
+ ]
74962
+ }
74963
+ },
74964
+ "results": [
74965
+ {
74966
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
74967
+ "message": { "text": "Unused variable foo." },
74968
+ "locations": [
74969
+ {
74970
+ "physicalLocation": {
74971
+ "artifactLocation": { "uri": "file1.js" },
74972
+ "region": { "startLine": 1 }
74973
+ }
74974
+ }
74975
+ ],
74976
+ "ruleId": "js/unused-local-variable",
74977
+ "properties": [
74978
+ { "github/alertNumber": 2 },
74979
+ {
74980
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
74981
+ }
74982
+ ]
74983
+ }
74984
+ ]
74985
+ }
74986
+ ]
74987
+ }
74988
+ },
74926
74989
  "code-scanning-analysis-deletion": {
74927
74990
  "summary": "Default response",
74928
74991
  "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" },
@@ -2466,7 +2466,6 @@
2466
2466
  "200": {
2467
2467
  "description": "Response",
2468
2468
  "content": {
2469
- "application/json+sarif": { "schema": { "type": "string" } },
2470
2469
  "application/json": {
2471
2470
  "schema": {
2472
2471
  "type": "object",
@@ -2573,7 +2572,7 @@
2573
2572
  },
2574
2573
  "examples": {
2575
2574
  "response": {
2576
- "summary": "Default response",
2575
+ "summary": "application/json response",
2577
2576
  "value": {
2578
2577
  "ref": "refs/heads/main",
2579
2578
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -2597,6 +2596,54 @@
2597
2596
  }
2598
2597
  }
2599
2598
  }
2599
+ },
2600
+ "application/json+sarif": {
2601
+ "schema": { "type": "object", "additionalProperties": true },
2602
+ "examples": {
2603
+ "response": {
2604
+ "summary": "application/json+sarif response",
2605
+ "value": {
2606
+ "runs": [
2607
+ {
2608
+ "tool": {
2609
+ "driver": {
2610
+ "name": "CodeQL",
2611
+ "organization": "GitHub",
2612
+ "semanticVersion": "1.0.0",
2613
+ "rules": [
2614
+ {
2615
+ "id": "js/unused-local-variable",
2616
+ "name": "js/unused-local-variable"
2617
+ }
2618
+ ]
2619
+ }
2620
+ },
2621
+ "results": [
2622
+ {
2623
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
2624
+ "message": { "text": "Unused variable foo." },
2625
+ "locations": [
2626
+ {
2627
+ "physicalLocation": {
2628
+ "artifactLocation": { "uri": "file1.js" },
2629
+ "region": { "startLine": 1 }
2630
+ }
2631
+ }
2632
+ ],
2633
+ "ruleId": "js/unused-local-variable",
2634
+ "properties": [
2635
+ { "github/alertNumber": 2 },
2636
+ {
2637
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
2638
+ }
2639
+ ]
2640
+ }
2641
+ ]
2642
+ }
2643
+ ]
2644
+ }
2645
+ }
2646
+ }
2600
2647
  }
2601
2648
  }
2602
2649
  },
@@ -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" },
@@ -717,7 +717,6 @@
717
717
  "200": {
718
718
  "description": "Response",
719
719
  "content": {
720
- "application/json+sarif": { "schema": { "type": "string" } },
721
720
  "application/json": {
722
721
  "schema": {
723
722
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -727,6 +726,14 @@
727
726
  "$ref": "#/components/examples/code-scanning-analysis-default"
728
727
  }
729
728
  }
729
+ },
730
+ "application/json+sarif": {
731
+ "schema": { "type": "object", "additionalProperties": true },
732
+ "examples": {
733
+ "response": {
734
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
735
+ }
736
+ }
730
737
  }
731
738
  }
732
739
  },
@@ -2775,7 +2782,7 @@
2775
2782
  ]
2776
2783
  },
2777
2784
  "code-scanning-analysis-default": {
2778
- "summary": "Default response",
2785
+ "summary": "application/json response",
2779
2786
  "value": {
2780
2787
  "ref": "refs/heads/main",
2781
2788
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -2794,6 +2801,49 @@
2794
2801
  "warning": ""
2795
2802
  }
2796
2803
  },
2804
+ "code-scanning-analysis-sarif": {
2805
+ "summary": "application/json+sarif response",
2806
+ "value": {
2807
+ "runs": [
2808
+ {
2809
+ "tool": {
2810
+ "driver": {
2811
+ "name": "CodeQL",
2812
+ "organization": "GitHub",
2813
+ "semanticVersion": "1.0.0",
2814
+ "rules": [
2815
+ {
2816
+ "id": "js/unused-local-variable",
2817
+ "name": "js/unused-local-variable"
2818
+ }
2819
+ ]
2820
+ }
2821
+ },
2822
+ "results": [
2823
+ {
2824
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
2825
+ "message": { "text": "Unused variable foo." },
2826
+ "locations": [
2827
+ {
2828
+ "physicalLocation": {
2829
+ "artifactLocation": { "uri": "file1.js" },
2830
+ "region": { "startLine": 1 }
2831
+ }
2832
+ }
2833
+ ],
2834
+ "ruleId": "js/unused-local-variable",
2835
+ "properties": [
2836
+ { "github/alertNumber": 2 },
2837
+ {
2838
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
2839
+ }
2840
+ ]
2841
+ }
2842
+ ]
2843
+ }
2844
+ ]
2845
+ }
2846
+ },
2797
2847
  "reaction": {
2798
2848
  "value": {
2799
2849
  "id": 1,
@@ -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" },
@@ -135098,7 +135098,6 @@
135098
135098
  "200": {
135099
135099
  "description": "Response",
135100
135100
  "content": {
135101
- "application/json+sarif": { "schema": { "type": "string" } },
135102
135101
  "application/json": {
135103
135102
  "schema": {
135104
135103
  "type": "object",
@@ -135205,7 +135204,7 @@
135205
135204
  },
135206
135205
  "examples": {
135207
135206
  "response": {
135208
- "summary": "Default response",
135207
+ "summary": "application/json response",
135209
135208
  "value": {
135210
135209
  "ref": "refs/heads/main",
135211
135210
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -135229,6 +135228,54 @@
135229
135228
  }
135230
135229
  }
135231
135230
  }
135231
+ },
135232
+ "application/json+sarif": {
135233
+ "schema": { "type": "object", "additionalProperties": true },
135234
+ "examples": {
135235
+ "response": {
135236
+ "summary": "application/json+sarif response",
135237
+ "value": {
135238
+ "runs": [
135239
+ {
135240
+ "tool": {
135241
+ "driver": {
135242
+ "name": "CodeQL",
135243
+ "organization": "GitHub",
135244
+ "semanticVersion": "1.0.0",
135245
+ "rules": [
135246
+ {
135247
+ "id": "js/unused-local-variable",
135248
+ "name": "js/unused-local-variable"
135249
+ }
135250
+ ]
135251
+ }
135252
+ },
135253
+ "results": [
135254
+ {
135255
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
135256
+ "message": { "text": "Unused variable foo." },
135257
+ "locations": [
135258
+ {
135259
+ "physicalLocation": {
135260
+ "artifactLocation": { "uri": "file1.js" },
135261
+ "region": { "startLine": 1 }
135262
+ }
135263
+ }
135264
+ ],
135265
+ "ruleId": "js/unused-local-variable",
135266
+ "properties": [
135267
+ { "github/alertNumber": 2 },
135268
+ {
135269
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
135270
+ }
135271
+ ]
135272
+ }
135273
+ ]
135274
+ }
135275
+ ]
135276
+ }
135277
+ }
135278
+ }
135232
135279
  }
135233
135280
  }
135234
135281
  },
@@ -135530,6 +135577,15 @@
135530
135577
  }
135531
135578
  },
135532
135579
  "required": ["commit_sha", "ref", "sarif"]
135580
+ },
135581
+ "examples": {
135582
+ "default": {
135583
+ "value": {
135584
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
135585
+ "ref": "refs/heads/master",
135586
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2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135588
+ }
135533
135589
  }
135534
135590
  }
135535
135591
  }
@@ -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" },
@@ -19142,7 +19142,6 @@
19142
19142
  "200": {
19143
19143
  "description": "Response",
19144
19144
  "content": {
19145
- "application/json+sarif": { "schema": { "type": "string" } },
19146
19145
  "application/json": {
19147
19146
  "schema": {
19148
19147
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -19152,6 +19151,14 @@
19152
19151
  "$ref": "#/components/examples/code-scanning-analysis-default"
19153
19152
  }
19154
19153
  }
19154
+ },
19155
+ "application/json+sarif": {
19156
+ "schema": { "type": "object", "additionalProperties": true },
19157
+ "examples": {
19158
+ "response": {
19159
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
19160
+ }
19161
+ }
19155
19162
  }
19156
19163
  }
19157
19164
  },
@@ -19271,6 +19278,15 @@
19271
19278
  }
19272
19279
  },
19273
19280
  "required": ["commit_sha", "ref", "sarif"]
19281
+ },
19282
+ "examples": {
19283
+ "default": {
19284
+ "value": {
19285
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
19286
+ "ref": "refs/heads/master",
19287
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2S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y5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
19288
+ }
19289
+ }
19274
19290
  }
19275
19291
  }
19276
19292
  }
@@ -63692,7 +63708,7 @@
63692
63708
  ]
63693
63709
  },
63694
63710
  "code-scanning-analysis-default": {
63695
- "summary": "Default response",
63711
+ "summary": "application/json response",
63696
63712
  "value": {
63697
63713
  "ref": "refs/heads/main",
63698
63714
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -63711,6 +63727,49 @@
63711
63727
  "warning": ""
63712
63728
  }
63713
63729
  },
63730
+ "code-scanning-analysis-sarif": {
63731
+ "summary": "application/json+sarif response",
63732
+ "value": {
63733
+ "runs": [
63734
+ {
63735
+ "tool": {
63736
+ "driver": {
63737
+ "name": "CodeQL",
63738
+ "organization": "GitHub",
63739
+ "semanticVersion": "1.0.0",
63740
+ "rules": [
63741
+ {
63742
+ "id": "js/unused-local-variable",
63743
+ "name": "js/unused-local-variable"
63744
+ }
63745
+ ]
63746
+ }
63747
+ },
63748
+ "results": [
63749
+ {
63750
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
63751
+ "message": { "text": "Unused variable foo." },
63752
+ "locations": [
63753
+ {
63754
+ "physicalLocation": {
63755
+ "artifactLocation": { "uri": "file1.js" },
63756
+ "region": { "startLine": 1 }
63757
+ }
63758
+ }
63759
+ ],
63760
+ "ruleId": "js/unused-local-variable",
63761
+ "properties": [
63762
+ { "github/alertNumber": 2 },
63763
+ {
63764
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
63765
+ }
63766
+ ]
63767
+ }
63768
+ ]
63769
+ }
63770
+ ]
63771
+ }
63772
+ },
63714
63773
  "code-scanning-analysis-deletion": {
63715
63774
  "summary": "Default response",
63716
63775
  "value": {