raml2code-js-client-mulesoft
v0.0.4
Published
Javascrispt client generator from RAML Spec
Downloads
3
Readme
raml2code-js-client-mulesoft
This generator create javascript client from a RAML file, based in raml-client-generatorfrom mulesoft.
To try
- Install gulp
npm install -G gulp
- install the generators you needed
npm install --save-dev raml2code
npm install --save-dev raml2code-js-client-mulesoft
- configure the gulpfile.js
var gulp = require('gulp');
var raml2code = require('raml2code');
var genJS = require("raml2code-js-client-mulesoft");
gulp.task("genJS", function(){
gulp.src('./test/cats.raml')
.pipe(raml2code({generator: genJS, extra: {}}))
.pipe(gulp.dest('build'));
});
- Run the generator
gulp genJS
This is part of the raml2code project.