Skip to content

Commit

Permalink
fix: severity property is a list
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Sep 22, 2022
1 parent 5c1a820 commit 50377e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OSV.Schema/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ public sealed record Event
/// The earliest version/commit where this vulnerability was introduced in.
/// </summary>
[JsonPropertyName("introduced")]
public string? Introduced { get; set; } = null!;
public string? Introduced { get; set; }

/// <summary>
/// The version/commit that this vulnerability was fixed in.
/// </summary>
[JsonPropertyName("fixed")]
public string? Fixed { get; set; } = null!;
public string? Fixed { get; set; }

/// <summary>
/// The limit to apply to the range.
/// </summary>
[JsonPropertyName("limit")]
public string? Limit { get; set; } = null!;
public string? Limit { get; set; }
}

0 comments on commit 50377e9

Please sign in to comment.