I used below schema to generate C# code using CSharpGenerator. But there is no validation for the length if the field marked as required. The validation ( [System.ComponentModel.DataAnnotations.StringLength(int.MaxValue, MinimumLength = 1)]) is correctly generated if the field is not marked as required.
I used below schema to generate C# code using CSharpGenerator. But there is no validation for the length if the field marked as required. The validation (
[System.ComponentModel.DataAnnotations.StringLength(int.MaxValue, MinimumLength = 1)]
) is correctly generated if the field is not marked as required.Is this intentional? I am using version: 9.10.67 on nuget.