-
Notifications
You must be signed in to change notification settings - Fork 0
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
Data Faker #4
Comments
So lets assume we have in the yaml file:
What I like is that we add a new filed such as
which for example would create an ip address randomly in that range, but be unique or
|
This sounds cool. It will be very helpful. We have data generator here https://github.com/cloudmesh-community/graphql/blob/master/cloudmesh-graphql-server/database.py We can write standalone prg by taking cue from this file. |
I have done basic implementation. Cmd to execute script
Either
|
this will come in handy |
We are in need of a data faker for general
For REST this is pretty simple:
Let us assume the REST service is defined in yaml via OpenAPI.
Under definitions: we find the definition of the resource. What we want is some way of defining lots of them with a reasonable data set that makes somewhat sense.
I was thinking. Maybe we can have a prg that just writes this to a file and than we in : notation attach a python function to it that creates sample data. I remember you have a data generator somewher, where is it, I think we need to generalize this
The text was updated successfully, but these errors were encountered: