glideapps/quicktype

Generate ComponentModel.DataAnnotations attributes for JSON Schema constraints

已关闭

#825 创建于 2018年4月25日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (968 个派生)batch import
C#JSON Schemagood first issue

仓库指标

星标
 (10,867 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

There are attributes for min/max and regular expressions, maybe more. I'm not sure they're checked by Json.NET when deserializing, but it would nice to have them in general. Also, the JSON Schema generator of Json.NET will use them to reproduce the constraints in the schema.

贡献者指南