tjlytle / swagger-editor-server

swagger editor server that serves local file to the editor and update the file on every change

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Install

npm install swagger-editor-server --save

#swagger-editor-server swagger editor server that serves local file to the editor and update the file on every change

Example

    var editor = require("swagger-editor-server");

##editor.edit(swaggerFile) opens the browser and enables live edit of the swagger api file

Params

  • swaggerFile string - the path to the swagger api file

Example

    editor.edit(swaggerFile);

About

swagger editor server that serves local file to the editor and update the file on every change


Languages

Language:JavaScript 100.0%