Generate RAML 1.0 JSON examples


Hi guys,

Is it possible to generate json examples based on a RAML 1.0 definitions with types?

I would like to created some faked data using my definition.


You can use ramldt2jsonschema to convert your RAML types to JSON schemas and then use something like json-schema-faker to generate the fake/mock data.

I hope that helps. Let me know how it goes.


Hi @jstoiko,

Thanks, I will take a look at it.