What's New
Changed overall request structure, now it's more json like
added query parameter to every type
added properties to some types
the definition of type's are like method calling syntax
Example Schema Structure
{
"name" : "name()",
"email" : "email(domain=hg.co)",
"age" : "age(min=78&max=200)",
"address" : "address()",
"created_at" : "date()",
"phone" : "phone(code=87)",
"ids" : "list-str(amount=3)",
"employee" : {
"_$amount" : 2,
"name" : "name()",
"position" : "text(len=5)",
"clients" : {
"_$amount" : 3,
"deal" : "int(len=5)",
"name" : "name()",
"email" : "email(domain=hg.co)"
}
}
}
API Endpoint
/v1/gen?amount=2&schema=<json schema>
Full Changelog: v1.0.0...v1.0.1