Skip to content

Commit 60b07da

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHubEnterpriseCloud] Update to 1.1.4-b27c55fe8bd2fdd9a35c169d7fc9ddf7 from 1.1.4-5ebfc5c2a69a8e68eadbe18dfa04e5f0
Detected Schema changes: 2024-08-02 17:26:21 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-actions.yaml └ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory 2024-08-02 17:26:21 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory 2024-08-02 17:26:21 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-advisory-db.yaml └ error: open /__w/github-root/github-root/server-statistics-advisory-db.yaml: no such file or directory 2024-08-02 17:26:24 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-actions.yaml └ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory 2024-08-02 17:26:24 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory 2024-08-02 17:26:24 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-advisory-db.yaml └ error: open /__w/github-root/github-root/server-statistics-advisory-db.yaml: no such file or directory ERROR: component 'server-statistics-actions.yaml' does not exist in the specification ERROR: component 'server-statistics-packages.yaml' does not exist in the specification ERROR: component 'server-statistics-advisory-db.yaml' does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [207106:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [207108:11] ERROR: cannot resolve reference `server-statistics-advisory-db.yaml`, it's missing: [207110:11] ERROR: component 'server-statistics-actions.yaml' does not exist in the specification ERROR: component 'server-statistics-packages.yaml' does not exist in the specification ERROR: component 'server-statistics-advisory-db.yaml' does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [207088:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [207090:11] ERROR: cannot resolve reference `server-statistics-advisory-db.yaml`, it's missing: [207092:11]
1 parent 50e7686 commit 60b07da

File tree

6 files changed

+86
-67
lines changed

6 files changed

+86
-67
lines changed

clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "5ebfc5c2a69a8e68eadbe18dfa04e5f0",
2+
"specHash": "b27c55fe8bd2fdd9a35c169d7fc9ddf7",
33
"generatedFiles": {
44
"files": [
55
{
@@ -308,7 +308,7 @@
308308
},
309309
{
310310
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningOrganizationAlertItems.php",
311-
"hash": "0608eacaed858dc89ae368785590e06c"
311+
"hash": "a6c528927db9a2f80f2c3abef839d742"
312312
},
313313
{
314314
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseSecurityAnalysisSettings.php",
@@ -948,11 +948,11 @@
948948
},
949949
{
950950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertRuleSummary.php",
951-
"hash": "9f9e0ecb5585fc172d0c0202843cd1cf"
951+
"hash": "7eb5db688e3e77c8ff28b8795fdee346"
952952
},
953953
{
954954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertItems.php",
955-
"hash": "be10971a0cba9644e38d8635d5962da9"
955+
"hash": "1f104b153a76541dfec1986d268150cb"
956956
},
957957
{
958958
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeScanningAlert.php",
@@ -1412,7 +1412,7 @@
14121412
},
14131413
{
14141414
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/PullRequestReview.php",
1415-
"hash": "6c07acc5f100e7509e6bbee385c255b8"
1415+
"hash": "a60aa17f28ab6a8d57ff8cbac64260dd"
14161416
},
14171417
{
14181418
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ReviewComment.php",
@@ -5980,7 +5980,7 @@
59805980
},
59815981
{
59825982
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
5983-
"hash": "4f5d7fef37bd2120a1780f62f55955d4"
5983+
"hash": "ee379c7bf3e8c92f7c9bd9cf18e84d63"
59845984
},
59855985
{
59865986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -32160,7 +32160,7 @@
3216032160
},
3216132161
{
3216232162
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/CodeSecurity.php",
32163-
"hash": "fde1258be104d6d06536f578b6fa8c18"
32163+
"hash": "604ee98b68512191da9e8d433c401be0"
3216432164
},
3216532165
{
3216632166
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php",

clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlertItems.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -292,16 +292,6 @@
292292
"type": "string",
293293
"description": "The name of the rule used to detect the alert."
294294
},
295-
"tags": {
296-
"type": [
297-
"array",
298-
"null"
299-
],
300-
"items": {
301-
"type": "string"
302-
},
303-
"description": "A set of tags applicable for the rule."
304-
},
305295
"severity": {
306296
"enum": [
307297
"none",
@@ -333,6 +323,16 @@
333323
"description": {
334324
"type": "string",
335325
"description": "A short description of the rule used to detect the alert."
326+
},
327+
"tags": {
328+
"type": [
329+
"array",
330+
"null"
331+
],
332+
"items": {
333+
"type": "string"
334+
},
335+
"description": "A set of tags applicable for the rule."
336336
}
337337
}
338338
},
@@ -484,10 +484,10 @@
484484
"rule": {
485485
"id": "generated",
486486
"name": "generated",
487-
"tags": null,
488487
"severity": "error",
489488
"security_severity_level": "low",
490-
"description": "generated"
489+
"description": "generated",
490+
"tags": null
491491
},
492492
"tool": {
493493
"name": "generated",

clients/GitHubEnterpriseCloud/src/Schema/CodeScanningAlertRuleSummary.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@
2222
"type": "string",
2323
"description": "The name of the rule used to detect the alert."
2424
},
25-
"tags": {
26-
"type": [
27-
"array",
28-
"null"
29-
],
30-
"items": {
31-
"type": "string"
32-
},
33-
"description": "A set of tags applicable for the rule."
34-
},
3525
"severity": {
3626
"enum": [
3727
"none",
@@ -63,6 +53,16 @@
6353
"description": {
6454
"type": "string",
6555
"description": "A short description of the rule used to detect the alert."
56+
},
57+
"tags": {
58+
"type": [
59+
"array",
60+
"null"
61+
],
62+
"items": {
63+
"type": "string"
64+
},
65+
"description": "A set of tags applicable for the rule."
6666
}
6767
}
6868
}';
@@ -71,22 +71,22 @@
7171
public const SCHEMA_EXAMPLE_DATA = '{
7272
"id": "generated",
7373
"name": "generated",
74-
"tags": null,
7574
"severity": "error",
7675
"security_severity_level": "low",
77-
"description": "generated"
76+
"description": "generated",
77+
"tags": null
7878
}';
7979

8080
/**
8181
* id: A unique identifier for the rule used to detect the alert.
8282
* name: The name of the rule used to detect the alert.
83-
* tags: A set of tags applicable for the rule.
8483
* severity: The severity of the alert.
8584
* securitySeverityLevel: The security severity of the alert.
8685
* description: A short description of the rule used to detect the alert.
86+
* tags: A set of tags applicable for the rule.
8787
*/
88-
public function __construct(public string|null $id, public string|null $name, public array|null $tags, public string|null $severity, #[MapFrom('security_severity_level')]
89-
public string|null $securitySeverityLevel, public string|null $description,)
88+
public function __construct(public string|null $id, public string|null $name, public string|null $severity, #[MapFrom('security_severity_level')]
89+
public string|null $securitySeverityLevel, public string|null $description, public array|null $tags,)
9090
{
9191
}
9292
}

clients/GitHubEnterpriseCloud/src/Schema/CodeScanningOrganizationAlertItems.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -293,16 +293,6 @@
293293
"type": "string",
294294
"description": "The name of the rule used to detect the alert."
295295
},
296-
"tags": {
297-
"type": [
298-
"array",
299-
"null"
300-
],
301-
"items": {
302-
"type": "string"
303-
},
304-
"description": "A set of tags applicable for the rule."
305-
},
306296
"severity": {
307297
"enum": [
308298
"none",
@@ -334,6 +324,16 @@
334324
"description": {
335325
"type": "string",
336326
"description": "A short description of the rule used to detect the alert."
327+
},
328+
"tags": {
329+
"type": [
330+
"array",
331+
"null"
332+
],
333+
"items": {
334+
"type": "string"
335+
},
336+
"description": "A set of tags applicable for the rule."
337337
}
338338
}
339339
},
@@ -1030,10 +1030,10 @@
10301030
"rule": {
10311031
"id": "generated",
10321032
"name": "generated",
1033-
"tags": null,
10341033
"severity": "error",
10351034
"security_severity_level": "low",
1036-
"description": "generated"
1035+
"description": "generated",
1036+
"tags": null
10371037
},
10381038
"tool": {
10391039
"name": "generated",

clients/GitHubEnterpriseCloud/src/Schema/PullRequestReview.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"id": {
2929
"type": "integer",
3030
"description": "Unique identifier of the review",
31+
"format": "int64",
3132
"examples": [
3233
42
3334
]

etc/specs/GitHubEnterpriseCloud/current.spec.yaml

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3830,9 +3830,9 @@ paths:
38303830
"/events":
38313831
get:
38323832
summary: List public events
3833-
description: We delay the public events feed by five minutes, which means the
3834-
most recent event returned by the public events API actually occurred at least
3835-
five minutes ago.
3833+
description: |-
3834+
> [!NOTE]
3835+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
38363836
tags:
38373837
- activity
38383838
operationId: activity/list-public-events
@@ -5522,7 +5522,9 @@ paths:
55225522
"/networks/{owner}/{repo}/events":
55235523
get:
55245524
summary: List public events for a network of repositories
5525-
description: ''
5525+
description: |-
5526+
> [!NOTE]
5527+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
55265528
tags:
55275529
- activity
55285530
operationId: activity/list-public-events-for-repo-network
@@ -11782,7 +11784,9 @@ paths:
1178211784
"/orgs/{org}/events":
1178311785
get:
1178411786
summary: List public organization events
11785-
description: ''
11787+
description: |-
11788+
> [!NOTE]
11789+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
1178611790
tags:
1178711791
- activity
1178811792
operationId: activity/list-public-org-events
@@ -51539,8 +51543,11 @@ paths:
5153951543
"/users/{username}/events":
5154051544
get:
5154151545
summary: List events for the authenticated user
51542-
description: If you are authenticated as the given user, you will see your private
51543-
events. Otherwise, you'll only see public events.
51546+
description: |-
51547+
If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
51548+
51549+
> [!NOTE]
51550+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
5154451551
tags:
5154551552
- activity
5154651553
operationId: activity/list-events-for-authenticated-user
@@ -51571,8 +51578,11 @@ paths:
5157151578
"/users/{username}/events/orgs/{org}":
5157251579
get:
5157351580
summary: List organization events for the authenticated user
51574-
description: This is the user's organization dashboard. You must be authenticated
51575-
as the user to view this.
51581+
description: |-
51582+
This is the user's organization dashboard. You must be authenticated as the user to view this.
51583+
51584+
> [!NOTE]
51585+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
5157651586
tags:
5157751587
- activity
5157851588
operationId: activity/list-org-events-for-authenticated-user
@@ -51604,7 +51614,9 @@ paths:
5160451614
"/users/{username}/events/public":
5160551615
get:
5160651616
summary: List public events for a user
51607-
description: ''
51617+
description: |-
51618+
> [!NOTE]
51619+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
5160851620
tags:
5160951621
- activity
5161051622
operationId: activity/list-public-events-for-user
@@ -52316,9 +52328,12 @@ paths:
5231652328
"/users/{username}/received_events":
5231752329
get:
5231852330
summary: List events received by the authenticated user
52319-
description: These are events that you've received by watching repositories
52320-
and following users. If you are authenticated as the given user, you will
52321-
see private events. Otherwise, you'll only see public events.
52331+
description: |-
52332+
These are events that you've received by watching repositories and following users. If you are authenticated as the
52333+
given user, you will see private events. Otherwise, you'll only see public events.
52334+
52335+
> [!NOTE]
52336+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
5232252337
tags:
5232352338
- activity
5232452339
operationId: activity/list-received-events-for-user
@@ -52349,7 +52364,9 @@ paths:
5234952364
"/users/{username}/received_events/public":
5235052365
get:
5235152366
summary: List public events received by a user
52352-
description: ''
52367+
description: |-
52368+
> [!NOTE]
52369+
> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
5235352370
tags:
5235452371
- activity
5235552372
operationId: activity/list-received-public-events-for-user
@@ -73584,13 +73601,6 @@ components:
7358473601
name:
7358573602
type: string
7358673603
description: The name of the rule used to detect the alert.
73587-
tags:
73588-
type:
73589-
- array
73590-
- 'null'
73591-
description: A set of tags applicable for the rule.
73592-
items:
73593-
type: string
7359473604
severity:
7359573605
type:
7359673606
- string
@@ -73616,6 +73626,13 @@ components:
7361673626
description:
7361773627
type: string
7361873628
description: A short description of the rule used to detect the alert.
73629+
tags:
73630+
type:
73631+
- array
73632+
- 'null'
73633+
description: A set of tags applicable for the rule.
73634+
items:
73635+
type: string
7361973636
code-scanning-analysis-tool-version:
7362073637
type:
7362173638
- string
@@ -93886,6 +93903,7 @@ components:
9388693903
id:
9388793904
description: Unique identifier of the review
9388893905
type: integer
93906+
format: int64
9388993907
examples:
9389093908
- 42
9389193909
node_id:

0 commit comments

Comments
 (0)