Nectar of the Programming Masses
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

raml-webservice-generator

1.0.3 • Public • Published

RAML JS WebService Generator

RAML webservice generator .. is still in development!!

See Sample Project generated

See Video DEMO

RAML JS WebService Generator DEMO

Input RAML Example

 
   #see test/fixtures/movies/api.raml
 
   #%RAML 0.8
    
   title: World Movie API
   baseUri: http://example.api.com/{version}
   version: v1
   traits:
     - paged:
         queryParameters:
           pages:
             description: The number of pages to return
             type: number
   schemas:
    - actor: !include ../../../test/fixtures/movies/actor.schema
    - genre: !include ../../../test/fixtures/movies/genre.schema
    - movie: !include ../../../test/fixtures/movies/movie.schema
    - news: !include ../../../test/fixtures/movies/news.schema
    - autor: !include ../../../test/fixtures/movies/autor.schema
   /movie:
     get:
       responses:
         200:
           body:
             application/json:
               schema: "Movie[]"

Output Schema

schema

Example Output Project

project

UI Screenshots

step1 step2 step3 step4

install

npm i raml-webservice-generator

Downloadsweekly downloads

6

version

1.0.3

license

GPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar