node
Usage:
var express = require('express'), swagger = require('node-swagger-ui');
process.env.NODE_ENV = process.env.NODE_ENV || "DEV";
swagger(express()).configure({ ip: undefined, port: process.env.PORT || 8001, headers: { "Access-Control-Allow-Origin": "", "Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Accept, Authorization" }, models: [ '/docs/models/.js' ], apis: [ '/docs/apis/*.js' ], swagger: { title: "Title Swagger", description: "Swagger Sample Application", termsOfServiceUrl: "", contact: "ftheomunhoz@gmail.com", swaggerDoc: "api-docs", url: "/docs", version: "1.0.0" } }).start();