Skip to content
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

feat:Updated OpenAPI spec #4

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ partial void ProcessCodeSecurityCreateConfigurationResponseContent(
/// Default Value: disabled
/// </param>
/// <param name="enforcement">
/// The status of enforcement<br/>
/// The enforcement status for a security configuration<br/>
/// Default Value: enforced
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ partial void ProcessCodeSecurityUpdateConfigurationResponseContent(
/// The enablement status of private vulnerability reporting
/// </param>
/// <param name="enforcement">
/// The status of enforcement
/// The enforcement status for a security configuration
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public sealed partial class CodeSecurityCreateConfigurationRequest
public global::GitHub.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; } = global::GitHub.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting.Disabled;

/// <summary>
/// The status of enforcement<br/>
/// The enforcement status for a security configuration<br/>
/// Default Value: enforced
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("enforcement")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace GitHub
{
/// <summary>
/// The status of enforcement<br/>
/// The enforcement status for a security configuration<br/>
/// Default Value: enforced
/// </summary>
public enum CodeSecurityCreateConfigurationRequestEnforcement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public sealed partial class CodeSecurityUpdateConfigurationRequest
public global::GitHub.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? PrivateVulnerabilityReporting { get; set; }

/// <summary>
/// The status of enforcement
/// The enforcement status for a security configuration
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("enforcement")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityUpdateConfigurationRequestEnforcementJsonConverter))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace GitHub
{
/// <summary>
/// The status of enforcement
/// The enforcement status for a security configuration
/// </summary>
public enum CodeSecurityUpdateConfigurationRequestEnforcement
{
Expand Down
6 changes: 6 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.Discussion.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ public sealed partial class Discussion
[global::System.Text.Json.Serialization.JsonRequired]
public required global::GitHub.DiscussionUser? User { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("labels")]
public global::System.Collections.Generic.IList<global::GitHub.Label>? Labels { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down
3 changes: 3 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.Label.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace GitHub
public sealed partial class Label
{
/// <summary>
/// Unique identifier for the label.<br/>
/// Example: 208045946
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
Expand Down Expand Up @@ -39,6 +40,7 @@ public sealed partial class Label
public required string Name { get; set; }

/// <summary>
/// Optional description of the label, such as its purpose.<br/>
/// Example: Something isn't working
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("description")]
Expand All @@ -54,6 +56,7 @@ public sealed partial class Label
public required string Color { get; set; }

/// <summary>
/// Whether this label comes by default in a new repository.<br/>
/// Example: true
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("default")]
Expand Down
Loading
Loading