swagger-editor-live

For those of you who are looking for a solution for multifile Swagger files support and better local workflow, take a look at https://github.com/moon0326/swagger-ui-watcher instead # Swagger Editor Live

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
swagger-editor-live
3642.1.86 years ago6 years agoMinified + gzip package size for swagger-editor-live in KB

Readme

For those of you who are looking for a solution for multifile Swagger files support and better local workflow, take a look at https://github.com/moon0326/swagger-ui-watcher instead
Swagger Editor Live
A live swagger editor that saves your changes back to the file.

Installation

npm install swagger-editor-live -g

Usage

swagger-editor-live <swagger file path here>

You can also specify port number by passing --port option.
swagger-editor-live <swagger file path here> --port=8000

You may also change the host, usefull if you're using this inside a docker.
swagger-editor-live <swagger file path here> --host=0.0.0.0

If you're using multiple files with swagger then u want to specify where they are located like this
swagger-editor-live <swagger file path here> --folder=api