Simplify JSON schema, generation, copying and updating (#13427)
* Simplify JSON schema and only generate appsettings-schema.Umbraco.Cms.json * Use Umbraco.JsonSchema.Extensions to dynamically add JSON schema references * Move DependentUpon items to shared MSBuild props * Update LangVersion to latest * Update Umbraco.GitVersioning.Extensions to 0.2.0 * Remove JSON schemas on clean * Remove Umbraco.JsonSchema.Core project * Fix JSON schema nullability * Ignore additional JSON schema files in template * Update CompatibilitySuppressions.xml * Remove GlobalSettings.UmbracoPath from JSON schema again * Remove RemoveUmbracoJsonSchemaFiles target * Update Umbraco.JsonSchema.Extensions to 0.2.0 and add weights * Flatten generated JSON schema hierarchy * Remove LicensesSettings from CMS codebase * Change AdditionalParameters to IDictionary
This commit is contained in:
@@ -82,8 +82,8 @@ public class GlobalSettings
|
||||
public string UmbracoPath
|
||||
{
|
||||
get => Constants.System.DefaultUmbracoPath;
|
||||
[Obsolete($"{nameof(UmbracoPath)} is no longer configurable, property setter is scheduled for removal in V12")]
|
||||
// NOTE: when removing this, also clean up the hardcoded removal of UmbracoPath in UmbracoJsonSchemaGenerator
|
||||
[Obsolete($"{nameof(UmbracoPath)} is no longer configurable, this property setter is scheduled for removal in V12.")]
|
||||
// NOTE: When removing this, also clean up the hardcoded removal of UmbracoPath in Umbraco.JsonSchema
|
||||
set { }
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
// Copyright (c) Umbraco.
|
||||
// See LICENSE for more details.
|
||||
|
||||
namespace Umbraco.Cms.Core.Configuration.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Typed configuration options for license settings.
|
||||
/// </summary>
|
||||
public class LicensesSettings : Dictionary<string, string>
|
||||
{
|
||||
}
|
||||
@@ -12,5 +12,5 @@ public class MarketplaceSettings
|
||||
/// <summary>
|
||||
/// Gets or sets the additional parameters that are sent to the Marketplace.
|
||||
/// </summary>
|
||||
public Dictionary<string, string> AdditionalParameters { get; set; } = new ();
|
||||
public IDictionary<string, string> AdditionalParameters { get; set; } = new Dictionary<string, string>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user