RicoSuter / NJsonSchema

JSON Schema reader, generator and validator for .NET
http://NJsonSchema.org
MIT License
1.38k stars 532 forks source link

Question: generate samples from examples in the schema? #1608

Open jstafford5380 opened 1 year ago

jstafford5380 commented 1 year ago

When I use SampleJsonDataGenerator to generate samples, it seems to ignore any examples present in the schema. Is there a way to have it use existing examples but fallback to generating new ones if not present?