A RAML to Swagger converter in node.js
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
src
test
.coveralls.tml
.eslintrc
.gitignore
.jscsrc
.travis.yml
README.md
command.js
package.json

README.md

raml2swagger

Tests Coverage Status

raml2swagger is a converter from RAML 0.8 to Swagger 2.0 API modeling language. Note that it's under heavy development and lots of features haven't been implemented.

How to run it

Install npm packages:

npm install

Then run the script:

node command.js <raml_file> <output_file>

JSON Schemas

Note that APIKit doesn't have support for JSON Schema Draft 0.4, and Swagger won't validate when using JSON Schema 0.3. You will need to convert the Schema to 0.4.

TODO

  • Methods (almost implemented)
  • Parameters (almost implemented)
  • OAuth
  • Schemas