swagger-resource-meddleware
v0.1.1
Published
Summary:
Downloads
8
Maintainers
Readme
swagger-resource-meddleware
Summary:
Starts a simple nodeJS server and loads the Swagger Spec
Build & Run
npm install
Usage
var resourceServer = require('swagger-resource-meddleware');
var specDoc = yamltojs('yamlfile');
var app = require('express')();
resourceServer.mount({
name: 'specname',
doc: specDoc
}, app, callback);