Skip to content

Template-driven generator of clients for APIs described by a RAML spec

License

Notifications You must be signed in to change notification settings

kusamakura/raml-client-generator

 
 

Repository files navigation

RAML Client Generator

NPM version NPM downloads Build status

Template-driven generator of clients for APIs described by RAML.

Installation

First, make sure node has been installed. Then, we can install it using npm:

npm install raml-client-generator -g

Usage

To generate an API client, point the command to your base RAML file and specify the output directory and language.

raml-to-client api.raml -o api-client -l javascript

Supported Languages

  • JavaScript (javascript)
    • Node and browser support
    • Promises
    • Complete OAuth 2.0 Support
    • Multiple instances
    • Automatic README.md and package.json generation
    • Multi-part form data

We're excited to see new languages soon! If you have a language you'd like to implement, check out the implementation guide.

Testing

npm install
npm test # This *will* test every language.

License

Apache 2.0

About

Template-driven generator of clients for APIs described by a RAML spec

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.8%
  • Handlebars 2.2%