glideapps/quicktype

Generate ComponentModel.DataAnnotations attributes for JSON Schema constraints

Open

#825 opened on Apr 25, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (968 forks)batch import
C#JSON Schemagood first issue

Repository metrics

Stars
 (10,867 stars)
PR merge metrics
 (No merged PRs in 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.

Contributor guide