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
167 stars 38 forks source link

for ng reactive form, support default value and nonNullable #136

Open zijianhuang opened 8 months ago

zijianhuang commented 8 months ago

related to #123

Default value of property, System.ComponentModel.DefaultValueAttribute If both are not equal, mention the difference in doc comment.

zijianhuang commented 8 months ago

An option to add | null as optional data type. Currently almost always having | null. Review and refine the following:

string RefineAngularFormControlTypeName(CodeMemberField codeMemberField)