summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-06-20 11:31:01 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-06-20 11:31:01 -0400
commitd02a40de997edf493354e85eb018ded84eb8f782 (patch)
treeed678caf20140168aff6d4816e882cef6a057a7e
parentb32cad4046916344665c67923482db09cacb366f (diff)
downloadSMAPI-d02a40de997edf493354e85eb018ded84eb8f782.tar.gz
SMAPI-d02a40de997edf493354e85eb018ded84eb8f782.tar.bz2
SMAPI-d02a40de997edf493354e85eb018ded84eb8f782.zip
change default JSON validator schema to none
-rw-r--r--docs/release-notes.md4
-rw-r--r--src/SMAPI.Web/Controllers/JsonValidatorController.cs2
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 43e1011c..2780e5ad 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -20,7 +20,9 @@
* For the web UI:
* Added GitHub licenses to mod compatibility list.
- * Added SMAPI `i18n` schema to JSON validator.
+ * Improved JSON validator:
+ * added SMAPI `i18n` schema;
+ * changed default schema to plain JSON.
* Updated ModDrop URLs.
* Internal changes to improve performance and reliability.
diff --git a/src/SMAPI.Web/Controllers/JsonValidatorController.cs b/src/SMAPI.Web/Controllers/JsonValidatorController.cs
index 8fb9e06a..b76d41a3 100644
--- a/src/SMAPI.Web/Controllers/JsonValidatorController.cs
+++ b/src/SMAPI.Web/Controllers/JsonValidatorController.cs
@@ -33,7 +33,7 @@ namespace StardewModdingAPI.Web.Controllers
};
/// <summary>The schema ID to use if none was specified.</summary>
- private string DefaultSchemaID = "manifest";
+ private string DefaultSchemaID = "none";
/// <summary>A token in an error message which indicates that the child errors should be displayed instead.</summary>
private readonly string TransparentToken = "$transparent";