Skip to content

[GitHub] Update to 1.1.4-258d33610c11c1d10d29617d894e1ce8 from 1.1.4-1f428455b4cea06755dbb12f469fc171 #1243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions clients/GitHub/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "1f428455b4cea06755dbb12f469fc171",
"specHash": "258d33610c11c1d10d29617d894e1ce8",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -440,7 +440,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningOrganizationAlertItems.php",
"hash": "2f8e2e63012bcce47f7b26ec709174c6"
"hash": "3710c419a0a4d200bcd85f0227a47fbc"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodespaceMachine.php",
Expand Down Expand Up @@ -844,11 +844,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertRuleSummary.php",
"hash": "d31d1a0df17cad29106204b4749d0550"
"hash": "3d313d12408b39ac2145d20fa08ad45c"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertItems.php",
"hash": "6890258dc8a7950fc2dcad38a2f554c6"
"hash": "25e47067404179c058125d6893424f86"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlert.php",
Expand Down Expand Up @@ -1308,7 +1308,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PullRequestReview.php",
"hash": "34ef1d29ef808d513a7bf73066da474d"
"hash": "d705f5ad9a1b1feab6c273ba6ee38687"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ReviewComment.php",
Expand Down Expand Up @@ -5612,7 +5612,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
"hash": "8424548ebe6553d096fbe836b3a9382f"
"hash": "16d5e12cbe10bf1544d358fb6ce2264c"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
Expand Down Expand Up @@ -29824,7 +29824,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/CodeSecurity.php",
"hash": "0f0cad39f86e6ac4799e47f3d4c2fa07"
"hash": "9a02ccb9703c1159bd4b88452a72da78"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php",
Expand Down
24 changes: 12 additions & 12 deletions clients/GitHub/src/Schema/CodeScanningAlertItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,16 +292,6 @@
"type": "string",
"description": "The name of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "A set of tags applicable for the rule."
},
"severity": {
"enum": [
"none",
Expand Down Expand Up @@ -333,6 +323,16 @@
"description": {
"type": "string",
"description": "A short description of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "A set of tags applicable for the rule."
}
}
},
Expand Down Expand Up @@ -484,10 +484,10 @@
"rule": {
"id": "generated",
"name": "generated",
"tags": null,
"severity": "error",
"security_severity_level": "low",
"description": "generated"
"description": "generated",
"tags": null
},
"tool": {
"name": "generated",
Expand Down
30 changes: 15 additions & 15 deletions clients/GitHub/src/Schema/CodeScanningAlertRuleSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@
"type": "string",
"description": "The name of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "A set of tags applicable for the rule."
},
"severity": {
"enum": [
"none",
Expand Down Expand Up @@ -63,6 +53,16 @@
"description": {
"type": "string",
"description": "A short description of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "A set of tags applicable for the rule."
}
}
}';
Expand All @@ -71,22 +71,22 @@
public const SCHEMA_EXAMPLE_DATA = '{
"id": "generated",
"name": "generated",
"tags": null,
"severity": "error",
"security_severity_level": "low",
"description": "generated"
"description": "generated",
"tags": null
}';

/**
* id: A unique identifier for the rule used to detect the alert.
* name: The name of the rule used to detect the alert.
* tags: A set of tags applicable for the rule.
* severity: The severity of the alert.
* securitySeverityLevel: The security severity of the alert.
* description: A short description of the rule used to detect the alert.
* tags: A set of tags applicable for the rule.
*/
public function __construct(public string|null $id, public string|null $name, public array|null $tags, public string|null $severity, #[MapFrom('security_severity_level')]
public string|null $securitySeverityLevel, public string|null $description,)
public function __construct(public string|null $id, public string|null $name, public string|null $severity, #[MapFrom('security_severity_level')]
public string|null $securitySeverityLevel, public string|null $description, public array|null $tags,)
{
}
}
24 changes: 12 additions & 12 deletions clients/GitHub/src/Schema/CodeScanningOrganizationAlertItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,6 @@
"type": "string",
"description": "The name of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "A set of tags applicable for the rule."
},
"severity": {
"enum": [
"none",
Expand Down Expand Up @@ -334,6 +324,16 @@
"description": {
"type": "string",
"description": "A short description of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "A set of tags applicable for the rule."
}
}
},
Expand Down Expand Up @@ -1030,10 +1030,10 @@
"rule": {
"id": "generated",
"name": "generated",
"tags": null,
"severity": "error",
"security_severity_level": "low",
"description": "generated"
"description": "generated",
"tags": null
},
"tool": {
"name": "generated",
Expand Down
1 change: 1 addition & 0 deletions clients/GitHub/src/Schema/PullRequestReview.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"id": {
"type": "integer",
"description": "Unique identifier of the review",
"format": "int64",
"examples": [
42
]
Expand Down
60 changes: 39 additions & 21 deletions etc/specs/GitHub/current.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1677,9 +1677,9 @@ paths:
"/events":
get:
summary: List public events
description: We delay the public events feed by five minutes, which means the
most recent event returned by the public events API actually occurred at least
five minutes ago.
description: |-
> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-public-events
Expand Down Expand Up @@ -3369,7 +3369,9 @@ paths:
"/networks/{owner}/{repo}/events":
get:
summary: List public events for a network of repositories
description: ''
description: |-
> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-public-events-for-repo-network
Expand Down Expand Up @@ -8421,7 +8423,9 @@ paths:
"/orgs/{org}/events":
get:
summary: List public organization events
description: ''
description: |-
> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-public-org-events
Expand Down Expand Up @@ -46050,8 +46054,11 @@ paths:
"/users/{username}/events":
get:
summary: List events for the authenticated user
description: If you are authenticated as the given user, you will see your private
events. Otherwise, you'll only see public events.
description: |-
If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.

> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-events-for-authenticated-user
Expand Down Expand Up @@ -46082,8 +46089,11 @@ paths:
"/users/{username}/events/orgs/{org}":
get:
summary: List organization events for the authenticated user
description: This is the user's organization dashboard. You must be authenticated
as the user to view this.
description: |-
This is the user's organization dashboard. You must be authenticated as the user to view this.

> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-org-events-for-authenticated-user
Expand Down Expand Up @@ -46115,7 +46125,9 @@ paths:
"/users/{username}/events/public":
get:
summary: List public events for a user
description: ''
description: |-
> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-public-events-for-user
Expand Down Expand Up @@ -46827,9 +46839,12 @@ paths:
"/users/{username}/received_events":
get:
summary: List events received by the authenticated user
description: These are events that you've received by watching repositories
and following users. If you are authenticated as the given user, you will
see private events. Otherwise, you'll only see public events.
description: |-
These are events that you've received by watching repositories and following users. If you are authenticated as the
given user, you will see private events. Otherwise, you'll only see public events.

> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-received-events-for-user
Expand Down Expand Up @@ -46860,7 +46875,9 @@ paths:
"/users/{username}/received_events/public":
get:
summary: List public events received by a user
description: ''
description: |-
> [!NOTE]
> 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.
tags:
- activity
operationId: activity/list-received-public-events-for-user
Expand Down Expand Up @@ -70836,13 +70853,6 @@ components:
name:
type: string
description: The name of the rule used to detect the alert.
tags:
type:
- array
- 'null'
description: A set of tags applicable for the rule.
items:
type: string
severity:
type:
- string
Expand All @@ -70868,6 +70878,13 @@ components:
description:
type: string
description: A short description of the rule used to detect the alert.
tags:
type:
- array
- 'null'
description: A set of tags applicable for the rule.
items:
type: string
code-scanning-analysis-tool-version:
type:
- string
Expand Down Expand Up @@ -86470,6 +86487,7 @@ components:
id:
description: Unique identifier of the review
type: integer
format: int64
examples:
- 42
node_id:
Expand Down
Loading