Skip to content

Commit

Permalink
Merge pull request #11268 from umbraco/v9/bugfix/11188_Missing_JSON_S…
Browse files Browse the repository at this point in the history
…chema_Property_for_Smidge_Version

Fixes Missing JSON Schema Property for RuntimeMinification:Version
  • Loading branch information
Zeegaan authored Oct 5, 2021
2 parents 53df7c6 + 4d4fa4d commit 846b1c4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public class RuntimeMinificationSettings
{
internal const bool StaticUseInMemoryCache = false;
internal const string StaticCacheBuster = "Version";
internal const string StaticVersion = null;

/// <summary>
/// Use in memory cache
Expand All @@ -19,5 +20,11 @@ public class RuntimeMinificationSettings
/// </summary>
[DefaultValue(StaticCacheBuster)]
public RuntimeMinificationCacheBuster CacheBuster { get; set; } = Enum<RuntimeMinificationCacheBuster>.Parse(StaticCacheBuster);

/// <summary>
/// The unique version string used if CacheBuster is 'Version'.
/// </summary>
[DefaultValue(StaticVersion)]
public string Version { get; set; } = StaticVersion;
}
}

0 comments on commit 846b1c4

Please sign in to comment.