diff --git a/Directory.Build.props b/Directory.Build.props index 56eea19..0c367ff 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 0.4.0 + 0.4.1 Code Happy, LLC Code Happy, LLC HTML/CSS To Image API diff --git a/src/HtmlCssToImage/Models/Results/ErrorDetails.cs b/src/HtmlCssToImage/Models/Results/ErrorDetails.cs index 68199c4..461cffe 100644 --- a/src/HtmlCssToImage/Models/Results/ErrorDetails.cs +++ b/src/HtmlCssToImage/Models/Results/ErrorDetails.cs @@ -23,6 +23,12 @@ public class ErrorDetails /// A list of validation errors that occurred during the request. /// [JsonPropertyName("validationErrors")] - public List ValidationErrors { get; set; } = []; + public ValidationError[]? ValidationErrors { get; set; } + + /// + /// A reference ID that can be used to track the error. + /// + [JsonPropertyName("referenceId")] + public string? ReferenceId { get; init; } } \ No newline at end of file