Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

A RAML to Swagger converter in node.js

Resources

Releases

No releases published

Packages

No packages published