shuttle-hq / synth

The Declarative Data Generator
https://www.getsynth.com/
Apache License 2.0
1.37k stars 108 forks source link

feat: do not require top-level schemas to be arrays #286

Closed bmoxb closed 2 years ago

bmoxb commented 2 years ago

Users can now write collections that do not have a "type": "array" as the top-level generator - this will cause an individual object to be generated instead of an array of objects as it was previously. Specifying --size will just cause the single generated value to be overwritten n number of times.

christos-h commented 2 years ago

LGTM!