-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
OSOE-770: Add support for structured html-validate output
- Loading branch information
Showing
4 changed files
with
104 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System.Text.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Lombiq.Tests.UI.Models; | ||
|
||
public class JsonHtmlValidationError | ||
{ | ||
[JsonPropertyName("ruleId")] | ||
public string RuleId { get; set; } | ||
[JsonPropertyName("severity")] | ||
public int Severity { get; set; } | ||
[JsonPropertyName("message")] | ||
public string Message { get; set; } | ||
[JsonPropertyName("offset")] | ||
public int Offset { get; set; } | ||
[JsonPropertyName("line")] | ||
public int Line { get; set; } | ||
[JsonPropertyName("column")] | ||
public int Column { get; set; } | ||
[JsonPropertyName("size")] | ||
public int Size { get; set; } | ||
[JsonPropertyName("selector")] | ||
public string Selector { get; set; } | ||
[JsonPropertyName("ruleUrl")] | ||
public string RuleUrl { get; set; } | ||
[JsonPropertyName("context")] | ||
public JsonElement Context { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters