1.8.4 • Published 9 years ago

raml2code v1.8.4

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

Raml to code generator

Build Status

It's a Gulp-plugin so to try

  1. Install gulp
 npm install -G gulp
  1. install the generators you needed
 npm install --save-dev raml2code
 npm install --save-dev raml2code-groovy-pojo
  1. 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'));
});
  1. 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.

A full example of using using raml2code could be found here:

raml2code-Example

You can make your own generators, DIY

Generator specification

We use the Gradle with the gulp plugin to build and integrate with Java.

gradle

gradle-gulp-plugin

1.8.4

9 years ago

1.8.3

9 years ago

1.8.2

9 years ago

1.8.1

9 years ago

1.8.0

9 years ago

0.8.41

9 years ago

0.8.40

9 years ago

0.8.39

9 years ago

0.8.38

9 years ago

0.0.37

9 years ago

0.0.36

9 years ago

0.0.35

9 years ago

0.0.34

9 years ago

0.0.33

9 years ago

0.0.32

9 years ago

0.0.31

9 years ago

0.0.30

9 years ago

0.0.29

9 years ago

0.0.28

9 years ago

0.0.27

9 years ago

0.0.26

9 years ago

0.0.25

9 years ago

0.0.24

9 years ago

0.0.23

9 years ago

0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

10 years ago

0.0.2

10 years ago