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
Open

Add random generated data from schema #41

crowz4k opened this issue May 17, 2019 · 2 comments
Assignees
Labels
1.1 enhancement New feature or request

Comments

@crowz4k
Copy link

crowz4k 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 boyney123 added the enhancement New feature or request label May 19, 2019
@boyney123
Copy link
Owner

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
Copy link
Author

crowz4k 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
Labels
1.1 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants