1.8.4 • Published 10 years ago

raml2code v1.8.4

Weekly downloads
4
License
ISC
Repository
github
Last release
10 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

10 years ago

1.8.3

10 years ago

1.8.2

10 years ago

1.8.1

10 years ago

1.8.0

10 years ago

0.8.41

10 years ago

0.8.40

10 years ago

0.8.39

10 years ago

0.8.38

10 years ago

0.0.37

10 years ago

0.0.36

10 years ago

0.0.35

10 years ago

0.0.34

11 years ago

0.0.33

11 years ago

0.0.32

11 years ago

0.0.31

11 years ago

0.0.30

11 years ago

0.0.29

11 years ago

0.0.28

11 years ago

0.0.27

11 years ago

0.0.26

11 years ago

0.0.25

11 years ago

0.0.24

11 years ago

0.0.23

11 years ago

0.0.22

11 years ago

0.0.21

11 years ago

0.0.20

11 years ago

0.0.19

11 years ago

0.0.18

11 years ago

0.0.17

11 years ago

0.0.16

11 years ago

0.0.15

11 years ago

0.0.14

11 years ago

0.0.13

11 years ago

0.0.12

11 years ago

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.2

11 years ago