Skip to content

[GitHub] Update to 1.1.4-12cb03fcf4474304824f71a72f6d6238 from 1.1.4-27d2025567219eabd469390370e022c1 #1283

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
34 changes: 17 additions & 17 deletions clients/GitHub/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "27d2025567219eabd469390370e022c1",
"specHash": "12cb03fcf4474304824f71a72f6d6238",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -400,7 +400,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertRule.php",
"hash": "f064fca88803f12f782b11188bad5429"
"hash": "9fc242a2a4d28599c7bd0845889c47eb"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAnalysisToolVersion.php",
Expand Down Expand Up @@ -440,7 +440,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningOrganizationAlertItems.php",
"hash": "3710c419a0a4d200bcd85f0227a47fbc"
"hash": "f37228ffa5baf182bffc1d0b7530cf6b"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodespaceMachine.php",
Expand Down Expand Up @@ -844,15 +844,15 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertRuleSummary.php",
"hash": "3d313d12408b39ac2145d20fa08ad45c"
"hash": "c5e4487bb2f2a1fc55261c3c06cdab89"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertItems.php",
"hash": "25e47067404179c058125d6893424f86"
"hash": "de27c3958f8f4de9bc13e0950722abe5"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlert.php",
"hash": "a77284a1697008d3074e84f8086ec606"
"hash": "b370451840d6f1e8bf0b576de497a2df"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertSetState.php",
Expand Down Expand Up @@ -5612,7 +5612,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
"hash": "6d99341ffc796ac03a95943c1ccee969"
"hash": "af3d3a3094434c46deb56bfd146053fc"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
Expand Down Expand Up @@ -29736,11 +29736,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfiguration.php",
"hash": "2929d09f16a601a5e6f975ba05b59593"
"hash": "b2f59f01b94913f3d1a89504dde0b9fc"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeSecurityDefaultConfigurations.php",
"hash": "c0f711c94f6e2ee9fa37caaf94926b16"
"hash": "8ddbbdc7b8bfab1c3b91c4dc70408f63"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfigurationRepositories.php",
Expand Down Expand Up @@ -29772,11 +29772,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/CreateConfiguration\/Request\/ApplicationJson.php",
"hash": "6a73bd5ff2999e5fabd297689772695b"
"hash": "e7b4a6ed3db038b78c345e3858310437"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/UpdateConfiguration\/Request\/ApplicationJson.php",
"hash": "3e6bd2e263559ef3e41ee383f8456b0b"
"hash": "20d35e34f6680647d2573edab241377b"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/AttachConfiguration\/Request\/ApplicationJson.php",
Expand All @@ -29788,7 +29788,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/CodeSecurity\/SetConfigurationAsDefault\/Response\/ApplicationJson\/Ok.php",
"hash": "77824b8868a85c0cba42241c1794aa49"
"hash": "a9fc6ccdcf6905ac3c34891ff7a0e3f5"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/CodeSecurity.php",
Expand Down Expand Up @@ -29816,23 +29816,23 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php",
"hash": "2721e9279c5ded99d6e11c3e0b051a52"
"hash": "0b954781d811dc57c0cb6babcb558261"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/Defaults.php",
"hash": "3f2cfa2c7260844ad8936a20ad4125d5"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId.php",
"hash": "a46a61151298e9426e71dbce9890eb33"
"hash": "43ed702a6db58b95e65eed8bd8f002bd"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Attach.php",
"hash": "25c6c6a9788e4d95b7191cd7998e2ff3"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Defaults.php",
"hash": "0988e5a54185c8882a54b2e8d17e8274"
"hash": "b8642ec16a84428d1b41df3685980d04"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Repositories.php",
Expand Down Expand Up @@ -30380,11 +30380,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfigurationForRepository.php",
"hash": "4784a45bcc6839be000b61414c6fc878"
"hash": "bc5b87c96f040b8b0cf5f87ed821bd18"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeSecurityConfiguration.php",
"hash": "6722483c203b44b54f486cfc06c938de"
"hash": "7dcec4c06679a3cc92277d71c122ff67"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleViolationError.php",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Code

after_secretScanningValidityChecks:

$value = $payload['secret_scanning_non_provider_patterns'] ?? null;

if ($value === null) {
$properties['secretScanningNonProviderPatterns'] = null;
goto after_secretScanningNonProviderPatterns;
}

$properties['secretScanningNonProviderPatterns'] = $value;

after_secretScanningNonProviderPatterns:

$value = $payload['private_vulnerability_reporting'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -644,6 +655,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema

after_secretScanningValidityChecks: $result['secret_scanning_validity_checks'] = $secretScanningValidityChecks;

$secretScanningNonProviderPatterns = $object->secretScanningNonProviderPatterns;

if ($secretScanningNonProviderPatterns === null) {
goto after_secretScanningNonProviderPatterns;
}

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$privateVulnerabilityReporting = $object->privateVulnerabilityReporting;

if ($privateVulnerabilityReporting === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Code

after_secretScanningValidityChecks:

$value = $payload['secret_scanning_non_provider_patterns'] ?? null;

if ($value === null) {
$properties['secretScanningNonProviderPatterns'] = null;
goto after_secretScanningNonProviderPatterns;
}

$properties['secretScanningNonProviderPatterns'] = $value;

after_secretScanningNonProviderPatterns:

$value = $payload['private_vulnerability_reporting'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -692,6 +703,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema

after_secretScanningValidityChecks: $result['secret_scanning_validity_checks'] = $secretScanningValidityChecks;

$secretScanningNonProviderPatterns = $object->secretScanningNonProviderPatterns;

if ($secretScanningNonProviderPatterns === null) {
goto after_secretScanningNonProviderPatterns;
}

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$privateVulnerabilityReporting = $object->privateVulnerabilityReporting;

if ($privateVulnerabilityReporting === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Code

after_secretScanningValidityChecks:

$value = $payload['secret_scanning_non_provider_patterns'] ?? null;

if ($value === null) {
$properties['secretScanningNonProviderPatterns'] = null;
goto after_secretScanningNonProviderPatterns;
}

$properties['secretScanningNonProviderPatterns'] = $value;

after_secretScanningNonProviderPatterns:

$value = $payload['private_vulnerability_reporting'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -682,6 +693,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema

after_secretScanningValidityChecks: $result['secret_scanning_validity_checks'] = $secretScanningValidityChecks;

$secretScanningNonProviderPatterns = $object->secretScanningNonProviderPatterns;

if ($secretScanningNonProviderPatterns === null) {
goto after_secretScanningNonProviderPatterns;
}

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$privateVulnerabilityReporting = $object->privateVulnerabilityReporting;

if ($privateVulnerabilityReporting === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Code

after_secretScanningValidityChecks:

$value = $payload['secret_scanning_non_provider_patterns'] ?? null;

if ($value === null) {
$properties['secretScanningNonProviderPatterns'] = null;
goto after_secretScanningNonProviderPatterns;
}

$properties['secretScanningNonProviderPatterns'] = $value;

after_secretScanningNonProviderPatterns:

$value = $payload['private_vulnerability_reporting'] ?? null;

if ($value === null) {
Expand Down Expand Up @@ -681,6 +692,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema

after_secretScanningValidityChecks: $result['secret_scanning_validity_checks'] = $secretScanningValidityChecks;

$secretScanningNonProviderPatterns = $object->secretScanningNonProviderPatterns;

if ($secretScanningNonProviderPatterns === null) {
goto after_secretScanningNonProviderPatterns;
}

after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;

$privateVulnerabilityReporting = $object->privateVulnerabilityReporting;

if ($privateVulnerabilityReporting === null) {
Expand Down
2 changes: 1 addition & 1 deletion clients/GitHub/src/Schema/CodeScanningAlert.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
},
"full_description": {
"type": "string",
"description": "description of the rule used to detect the alert."
"description": "A description of the rule used to detect the alert."
},
"tags": {
"type": [
Expand Down
23 changes: 22 additions & 1 deletion clients/GitHub/src/Schema/CodeScanningAlertItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@
"type": "string",
"description": "A short description of the rule used to detect the alert."
},
"full_description": {
"type": "string",
"description": "A description of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
Expand All @@ -333,6 +337,20 @@
"type": "string"
},
"description": "A set of tags applicable for the rule."
},
"help": {
"type": [
"string",
"null"
],
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
},
"help_uri": {
"type": [
"string",
"null"
],
"description": "A link to the documentation for the rule used to detect the alert."
}
}
},
Expand Down Expand Up @@ -487,7 +505,10 @@
"severity": "error",
"security_severity_level": "low",
"description": "generated",
"tags": null
"full_description": "generated",
"tags": null,
"help": "generated",
"help_uri": "generated"
},
"tool": {
"name": "generated",
Expand Down
4 changes: 2 additions & 2 deletions clients/GitHub/src/Schema/CodeScanningAlertRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"full_description": {
"type": "string",
"description": "description of the rule used to detect the alert."
"description": "A description of the rule used to detect the alert."
},
"tags": {
"type": [
Expand Down Expand Up @@ -104,7 +104,7 @@
* 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.
* fullDescription: description of the rule used to detect the alert.
* fullDescription: A description of the rule used to detect the alert.
* tags: A set of tags applicable for the rule.
* help: Detailed documentation for the rule as GitHub Flavored Markdown.
* helpUri: A link to the documentation for the rule used to detect the alert.
Expand Down
30 changes: 28 additions & 2 deletions clients/GitHub/src/Schema/CodeScanningAlertRuleSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
"type": "string",
"description": "A short description of the rule used to detect the alert."
},
"full_description": {
"type": "string",
"description": "A description of the rule used to detect the alert."
},
"tags": {
"type": [
"array",
Expand All @@ -63,6 +67,20 @@
"type": "string"
},
"description": "A set of tags applicable for the rule."
},
"help": {
"type": [
"string",
"null"
],
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
},
"help_uri": {
"type": [
"string",
"null"
],
"description": "A link to the documentation for the rule used to detect the alert."
}
}
}';
Expand All @@ -74,7 +92,10 @@
"severity": "error",
"security_severity_level": "low",
"description": "generated",
"tags": null
"full_description": "generated",
"tags": null,
"help": "generated",
"help_uri": "generated"
}';

/**
Expand All @@ -83,10 +104,15 @@
* 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.
* fullDescription: A description of the rule used to detect the alert.
* tags: A set of tags applicable for the rule.
* help: Detailed documentation for the rule as GitHub Flavored Markdown.
* helpUri: A link to the documentation for the rule used to detect the alert.
*/
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,)
public string|null $securitySeverityLevel, public string|null $description, #[MapFrom('full_description')]
public string|null $fullDescription, public array|null $tags, public string|null $help, #[MapFrom('help_uri')]
public string|null $helpUri,)
{
}
}
Loading
Loading