Skip to content

Commit

Permalink
Merge pull request #36 from HavenDV/bot/update-openapi_202409170606
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 17, 2024
2 parents b390793 + a48b3f7 commit bf47862
Show file tree
Hide file tree
Showing 12 changed files with 7,022 additions and 6,747 deletions.
6 changes: 6 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.ApiOverview.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ public sealed partial class ApiOverview
[global::System.Text.Json.Serialization.JsonPropertyName("actions_macos")]
public global::System.Collections.Generic.IList<string>? ActionsMacos { get; set; }

/// <summary>
/// Example: [192.0.2.1]
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("codespaces")]
public global::System.Collections.Generic.IList<string>? Codespaces { get; set; }

/// <summary>
/// Example: [192.0.2.1]
/// </summary>
Expand Down
29 changes: 29 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.CvssSeverities.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

#nullable enable

namespace GitHub
{
/// <summary>
///
/// </summary>
public sealed partial class CvssSeverities
{
/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("cvss_v3")]
public global::GitHub.CvssSeveritiesCvssV3? CvssV3 { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("cvss_v4")]
public global::GitHub.CvssSeveritiesCvssV4? CvssV4 { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();
}
}
31 changes: 31 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.CvssSeveritiesCvssV3.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

#nullable enable

namespace GitHub
{
/// <summary>
///
/// </summary>
public sealed partial class CvssSeveritiesCvssV3
{
/// <summary>
/// The CVSS 3 vector string.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("vector_string")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string? VectorString { get; set; }

/// <summary>
/// The CVSS 3 score.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("score")]
[global::System.Text.Json.Serialization.JsonRequired]
public required double? Score { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();
}
}
31 changes: 31 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.CvssSeveritiesCvssV4.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

#nullable enable

namespace GitHub
{
/// <summary>
///
/// </summary>
public sealed partial class CvssSeveritiesCvssV4
{
/// <summary>
/// The CVSS 4 vector string.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("vector_string")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string? VectorString { get; set; }

/// <summary>
/// The CVSS 4 score.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("score")]
[global::System.Text.Json.Serialization.JsonRequired]
public required double? Score { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ public sealed partial class DependabotAlertSecurityAdvisory
[global::System.Text.Json.Serialization.JsonRequired]
public required global::GitHub.DependabotAlertSecurityAdvisoryCvss Cvss { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")]
public global::GitHub.CvssSeverities? CvssSeverities { get; set; }

/// <summary>
/// Details for the advisory pertaining to Common Weakness Enumeration.
/// </summary>
Expand Down
6 changes: 6 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisory.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ public sealed partial class GlobalAdvisory
[global::System.Text.Json.Serialization.JsonRequired]
public required global::GitHub.GlobalAdvisoryCvss? Cvss { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")]
public global::GitHub.CvssSeverities? CvssSeverities { get; set; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ public sealed partial class RepositoryAdvisory
[global::System.Text.Json.Serialization.JsonRequired]
public required global::GitHub.RepositoryAdvisoryCvss? Cvss { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")]
public global::GitHub.CvssSeverities? CvssSeverities { get; set; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisory
[global::System.Text.Json.Serialization.JsonRequired]
public required global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss Cvss { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")]
public global::GitHub.CvssSeverities? CvssSeverities { get; set; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ public sealed partial class WebhooksSecurityAdvisory
[global::System.Text.Json.Serialization.JsonRequired]
public required global::GitHub.WebhooksSecurityAdvisoryCvss Cvss { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("cvss_severities")]
public global::GitHub.CvssSeverities? CvssSeverities { get; set; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ partial void ProcessReposCreateAttestationResponseContent(
/// <summary>
/// Create an attestation<br/>
/// Store an artifact attestation and associate it with a repository.<br/>
/// The authenticated user must have write permission to the repository and, if using a fine-grained access token the `attestations:write` permission is required.<br/>
/// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For amore information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
/// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.<br/>
/// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
/// </summary>
/// <param name="owner"></param>
/// <param name="repo"></param>
Expand Down Expand Up @@ -112,8 +112,8 @@ partial void ProcessReposCreateAttestationResponseContent(
/// <summary>
/// Create an attestation<br/>
/// Store an artifact attestation and associate it with a repository.<br/>
/// The authenticated user must have write permission to the repository and, if using a fine-grained access token the `attestations:write` permission is required.<br/>
/// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For amore information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
/// The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.<br/>
/// Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
/// </summary>
/// <param name="owner"></param>
/// <param name="repo"></param>
Expand Down
Loading

0 comments on commit bf47862

Please sign in to comment.