openapi-generator/samples/swagger-static-docs/main.js
2014-07-04 10:19:28 -07:00

9 lines
175 B
JavaScript

var express = require("express")
var app = express();
var docs_handler = express.static(__dirname + '/docs/');
app.use(docs_handler);
// start the server
app.listen(8002);