This repository contains generator of java interfaces for RAML parser.
IMPORTANT: This is still in development and should be considered alpha.
npm install java-raml-parser-interfaces --save
typings install
npm install
tsc
Make sure you executed all necessary installation steps before you try to generate anything.
The result files can be found inside the ./java
subfolder ending with .json
.
Generating RC2 interfaces requires develop
branch of https://github.com/raml-org/raml-definition-system to be linked
as raml-definition-system
dependency.
node dist/generateSpecInterfaces.js
You may also specify the -dstPath
parameter in order to override default ./java
destination path.
Currently, the definition system provides interfaces for RAML 0.8 and 1.0 RC1 version.
Apache License 2.0