Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Implement dynamically generated data #10

Open
blakeembrey opened this issue Aug 19, 2015 · 4 comments
Open

Implement dynamically generated data #10

blakeembrey opened this issue Aug 19, 2015 · 4 comments

Comments

@blakeembrey
Copy link
Contributor

We could be generating random data based on the JSON schema, XML schema, etc. defined limitations. It could try to infer the type of data based on the field name, or be offered an extra option to specify type from supported (E.g. name, lastName, address, etc.). This should be pulled out into a more general module for use in many other utilities (automated tests, for one).

@YoungElPaso
Copy link

That'd be awesome. Is this project still kicking and is this issue something you're still interested in?

@blakeembrey
Copy link
Contributor Author

I no longer work on RAML/Osprey myself, but it's still a very interesting topic. See https://github.com/Marak/faker.js/issues/278 for some thoughts I had (very high level, IIRC).

@YoungElPaso
Copy link

Ha! I was just about to post a link to Faker, but then came across this which sounds even better:

https://github.com/danibram/mocker-data-generator/

@sichvoge
Copy link
Contributor

That still sounds really interesting. Wonder how we could handle RAML data types though. @jstoiko I am thinking about using ramldt2jsonschema project for it. What do you think?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants