zijianhuang / webapiclientgen

Strongly Typed Client API Generators generate strongly typed client APIs in C# .NET and in TypeScript for jQuery and Angular 2+ from ASP.NET Web API and .NET Core Web API
MIT License
168 stars 38 forks source link

support [System.ComponentModel.DataAnnotations.StringLength(int.MaxValue, MinimumLength = 8)] #85

Closed zijianhuang closed 4 years ago

zijianhuang commented 4 years ago
    [System.ComponentModel.DataAnnotations.StringLength(int.MaxValue, MinimumLength = 8)]
zijianhuang commented 4 years ago

don't do.

Generally only aps.net on the server will care about this to validate data in/out.

On client side, client developers may have to write app codes to honor the constraint. So no need to support in client code.