Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add random generated data from schema #41

Open
crowz4k opened this issue May 17, 2019 · 2 comments

Comments

@crowz4k
Copy link

commented May 17, 2019

It would be great if we can provide JSON schema and API generates data for us.

@boyney123 boyney123 added the 1.1 label May 19, 2019

@boyney123 boyney123 self-assigned this May 19, 2019

@boyney123

This comment has been minimized.

Copy link
Owner

commented May 19, 2019

Hey @crowz4k

I like this idea, I will try and take a look into it to see what I can do.

I think I have a few ideas.

Is this to change the behavior of the randomly generated data?

@crowz4k

This comment has been minimized.

Copy link
Author

commented May 19, 2019

Yes, so you can provide a schema like JSON and then you can get randomly generated data and that data can be generated either automatically or when the user hit the route.

Why this is good?
Let's say you want to test system where every time you need to have different data, so if you have static data it will not work. But if you have the option to get random each time you hit a route that will be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.