From 2dbcc547868f95a13f783990a983a4734213e9a4 Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko Date: Tue, 6 Oct 2026 16:40:40 +0300 Subject: [PATCH] 67588 - audit fixes --- generator-templates/lenient/modelGeneric.mustache | 2 +- generator-templates/strict/modelGeneric.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generator-templates/lenient/modelGeneric.mustache b/generator-templates/lenient/modelGeneric.mustache index 47279e8..eeaa7e1 100644 --- a/generator-templates/lenient/modelGeneric.mustache +++ b/generator-templates/lenient/modelGeneric.mustache @@ -234,7 +234,7 @@ {{#deprecated}} [Obsolete] {{/deprecated}} - public {{{dataType}}}{{^required}}?{{/required}} {{name}} { get; {{#isReadOnly}}private {{/isReadOnly}}set; } + public {{{dataType}}}{{^isNullable}}{{^required}}?{{/required}}{{/isNullable}} {{name}} { get; {{#isReadOnly}}private {{/isReadOnly}}set; } {{#isReadOnly}} /// diff --git a/generator-templates/strict/modelGeneric.mustache b/generator-templates/strict/modelGeneric.mustache index 262d00c..0ac1ff4 100644 --- a/generator-templates/strict/modelGeneric.mustache +++ b/generator-templates/strict/modelGeneric.mustache @@ -234,7 +234,7 @@ {{#deprecated}} [Obsolete] {{/deprecated}} - public {{{dataType}}}{{^required}}?{{/required}} {{name}} { get; {{#isReadOnly}}private {{/isReadOnly}}set; } + public {{{dataType}}}{{^isNullable}}{{^required}}?{{/required}}{{/isNullable}} {{name}} { get; {{#isReadOnly}}private {{/isReadOnly}}set; } {{#isReadOnly}} ///