diff --git a/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs b/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs
index fc92f4fb92eb2..85037ef8f6c2b 100644
--- a/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs
+++ b/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs
@@ -824,8 +824,8 @@ public LanguageDetectionSkill(System.Collections.Generic.IEnumerable.
///
[CodeGenMember("min")]
- public int? MinLength { get; }
+ public int? MinLength { get; set; }
///
/// Gets the maximum length in characters. Default and maximum is 300.
///
[CodeGenMember("max")]
- public int? MaxLength { get; }
+ public int? MaxLength { get; set; }
}
}