Skip to content

Provide mock data out of the box, magically :) #20

@DeeJayTC

Description

@DeeJayTC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions