glideapps/quicktype

Generate ComponentModel.DataAnnotations attributes for JSON Schema constraints

Open

#825 aperta il 25 apr 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (968 fork)batch import
C#JSON Schemagood first issue

Metriche repository

Star
 (10.867 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor