net-dynamic-api
net-dynamic-api copied to clipboard
Provide mock data out of the box, magically :)
Add an option to automatically generate mock date for the generated API's if configured.
- Add a param "&mock=true|false, &mockCount=xxx that automatically generates and returns mocked data
- guess proper mock data based on the field, ie if its a name we automatically chose a name
- add attribute to configure mock data
- [Mock("FirstName")] will always generate a first name, can even use locales ie [Mock("FirstName, en-EN")] will create english first names