Skip to content

Commit

Permalink
Adds the GenerateNativeRecords argument to the jsonschema2csclient co…
Browse files Browse the repository at this point in the history
…mmand (#5082)
  • Loading branch information
jokarls authored Jan 7, 2025
1 parent 805f512 commit 3246c7b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ public CSharpClassStyle ClassStyle
get => Settings.ClassStyle;
set => Settings.ClassStyle = value;
}

[Argument(Name = "GenerateNativeRecords", IsRequired = false, Description = "Specifies whether to generate native records.")]
public bool GenerateNativeRecords
{
get => Settings.GenerateNativeRecords;
set => Settings.GenerateNativeRecords = value;
}

[Argument(Name = "JsonLibrary", IsRequired = false, Description = "The CSharp JSON library, 'NewtonsoftJson' or 'SystemTextJson' (default: 'NewtonsoftJson', 'SystemTextJson' is experimental).")]
public CSharpJsonLibrary JsonLibrary
Expand Down

0 comments on commit 3246c7b

Please sign in to comment.