glideapps/quicktype
Ver no GitHubGenerate ComponentModel.DataAnnotations attributes for JSON Schema constraints
Open
#825 aberto em 25 de abr. de 2018
C#JSON Schemagood first issue
Métricas do repositório
- Stars
- (10.867 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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.