0.0.3 • Published 8 years ago

raml-client-loader v0.0.3

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

A dead simple way to import/require your RAML definition files and get back a JavaScript Client Class for that definition with Webpack.

npm install raml-client-loader --save-dev
module: {
    loaders: [
        {
            test: /\.raml$/,
            loader: 'raml-client-loader'
        }
    ]
}
var Client = require('./path/to/definition.raml'),
    client = new Cient();
    
client.users.userId(1).get();    

See https://github.com/mulesoft-labs/raml-javascript-generator and https://github.com/blakeembrey/popsicle for more information.

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago