Skip to content

Commit

Permalink
Merge pull request #110 from PxTools/generation-fix
Browse files Browse the repository at this point in the history
Fix for generation of code
  • Loading branch information
likp authored Oct 15, 2024
2 parents 6323da4 + e2f42e4 commit dd4ac1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PxWeb.Api2.Server.Models/VariablePlacementType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public override string ToString()
/// <returns>JSON string presentation of the object</returns>
public string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
return JsonConvert.SerializeObject(this, Formatting.Indented);
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/PxWeb.Api2.Server.Models/VariablesSelection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class VariablesSelection : IEquatable<VariablesSelection>
/// Gets or Sets Palcement
/// </summary>
[DataMember(Name="palcement", EmitDefaultValue=false)]
public VariablePlacementType Palcement { get; set; }
public VariablePlacementType? Palcement { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down

0 comments on commit dd4ac1d

Please sign in to comment.