diff --git a/src/NJsonSchema.CodeGeneration.CSharp/CSharpGeneratorSettings.cs b/src/NJsonSchema.CodeGeneration.CSharp/CSharpGeneratorSettings.cs index 4646585a6..a1f7e2e66 100644 --- a/src/NJsonSchema.CodeGeneration.CSharp/CSharpGeneratorSettings.cs +++ b/src/NJsonSchema.CodeGeneration.CSharp/CSharpGeneratorSettings.cs @@ -124,7 +124,7 @@ public CSharpGeneratorSettings() /// Gets or sets the name of a static method which is called to transform the JsonSerializerSettings (for Newtonsoft.Json) or the JsonSerializerOptions (for System.Text.Json) used in the generated ToJson()/FromJson() methods (default: null). public string JsonSerializerSettingsTransformationMethod { get; set; } - /// Gets or sets a value indicating whether to render ToJson() and FromJson() methods (default: true). + /// Gets or sets a value indicating whether to render ToJson() and FromJson() methods (default: false). public bool GenerateJsonMethods { get; set; } /// Gets or sets a value indicating whether enums should be always generated as bit flags (default: false). diff --git a/src/NJsonSchema.CodeGeneration.TypeScript/TypeScriptGeneratorSettings.cs b/src/NJsonSchema.CodeGeneration.TypeScript/TypeScriptGeneratorSettings.cs index 7f0d345a8..7eb4c62c1 100644 --- a/src/NJsonSchema.CodeGeneration.TypeScript/TypeScriptGeneratorSettings.cs +++ b/src/NJsonSchema.CodeGeneration.TypeScript/TypeScriptGeneratorSettings.cs @@ -44,7 +44,7 @@ public TypeScriptGeneratorSettings() InlineNamedDictionaries = false; } - /// Gets or sets the target TypeScript version (default: 1.8). + /// Gets or sets the target TypeScript version (default: 2.7). public decimal TypeScriptVersion { get; set; } /// Gets a value indicating whether the target TypeScript version supports strict null checks.