raml2code
v1.8.4
Published
Raml spec to code
Downloads
53
Readme
Raml to code generator
It's a Gulp-plugin so to try
- Install gulp
npm install -G gulp
- install the generators you needed
npm install --save-dev raml2code
npm install --save-dev raml2code-groovy-pojo
- configure the gulpfile.js
var gulp = require('gulp');
var raml2code = require('raml2code');
//Install a generators:
var genDTO = require("raml2code-retrofit");
gulp.task("dtos", function(){
gulp.src('./test/cats.raml')
.pipe(raml2code({generator: genDTO, extra: {package:'com.gex'}}))
.pipe(gulp.dest('build'));
});
- Run the generator
gulp dtos
Generators create and in use by GEX.
If you create a generator let us know to add to this list.