summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels/JsonValidator
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/ViewModels/JsonValidator')
-rw-r--r--src/SMAPI.Web/ViewModels/JsonValidator/JsonValidatorRequestModel.cs17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/SMAPI.Web/ViewModels/JsonValidator/JsonValidatorRequestModel.cs b/src/SMAPI.Web/ViewModels/JsonValidator/JsonValidatorRequestModel.cs
index 3edb58db..1313264f 100644
--- a/src/SMAPI.Web/ViewModels/JsonValidator/JsonValidatorRequestModel.cs
+++ b/src/SMAPI.Web/ViewModels/JsonValidator/JsonValidatorRequestModel.cs
@@ -7,22 +7,9 @@ namespace StardewModdingAPI.Web.ViewModels.JsonValidator
** Accessors
*********/
/// <summary>The schema name with which to validate the JSON.</summary>
- public string SchemaName { get; }
+ public string? SchemaName { get; set; }
/// <summary>The raw content to validate.</summary>
- public string Content { get; }
-
-
- /*********
- ** Accessors
- *********/
- /// <summary>Construct an instance.</summary>
- /// <param name="schemaName">The schema name with which to validate the JSON.</param>
- /// <param name="content">The raw content to validate.</param>
- public JsonValidatorRequestModel(string schemaName, string content)
- {
- this.SchemaName = schemaName;
- this.Content = content;
- }
+ public string? Content { get; set; }
}
}