About
These section shows the available type
for the mock
object.
Note: In all examples, it’s using en_US
as a default locale.
mock
accepts an object with one or more key-value proprieties.
On each propriety, the key is the name of your field and the value is an object containing 2 proprieties:
Key Name | Type | Required |
---|---|---|
type | String | ✔ |
params | Array |
See the example below:
Will output