Skip to content

JMPerez/raml2swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages