Skip to content

Commit

Permalink
fix: Fix serialization related property name problems (dotnet#8941)
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev authored and p-kostov committed Jun 28, 2024
1 parent a7dc5f9 commit 508ad99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ public string NameForVB
[JsonProperty("homepage")]
public string Homepage { get; set; }

[YamlMember(Alias = "originallHomepage")]
[JsonProperty("originallHomepage")]
[YamlMember(Alias = "originalHomepage")]
[JsonProperty("originalHomepage")]
public string OriginalHomepage { get; set; }

[YamlMember(Alias = "homepageUid")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class MarkdownServiceProperties
/// <summary>
/// Enables line numbers.
/// </summary>
[JsonProperty("EnableSourceInfo")]
[JsonProperty("enableSourceInfo")]
public bool EnableSourceInfo { get; set; } = true;

/// <summary>
Expand Down

0 comments on commit 508ad99

Please sign in to comment.