JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/http
lib
test
.gitignore
README.md
index.js
package.json

README.md

var app = require('serve-swagger-editor')({
	disableNewUserIntro: true,
	useBackendForStorage: true,
	useYamlBackend: true
}, '/tmp/myspec.yaml');

var server = require('http').createServer(app);

server.listen(8080, function () {
	console.log(server.address());
});

Installation

$ npm install serve-swagger-editor --save