RicoSuter/NJsonSchema

Retain data validation annotation attributes in model generation

开放

#1,011 创建于 2016年9月22日

 (24 条评论) (6 个反应) (0 位负责人)C# (550 个派生)github user discovery
help wantedproject: NJsonSchema.CodeGeneration.TypeScripttype: enhancement

仓库指标

星标
 (1,581 个星标)
PR 合并指标
 (平均合并 39天 6小时) (30 天内合并 1 个 PR)

描述

Attributes such as [Required], [Range], [StringLength(5)] from the System.ComponentModel.DataAnnotations namespace should be retained in the generated client side models so validation can be performed.

贡献者指南