@aomitayo/openapi-editor

0.1.0 • Public • Published

openapi-editor

Adaptation of the Swagger-Editor for local files

Inspired by swagger-edit and swagger-editor-live, a node package and docker image to allow for editing openapi specifications on a local machine using the latest version of the swagger editor.

How to use

There are two ways to use this package:

  1. As a node application
  2. As docker image

To use the node application, clone this repository, navigate to the directory, then run

$ npm bin openapi-editor <openapi spec file path>

To use the docker image, run

$ docker run -ti --rm --volume="$(pwd)":/openapi -p 8080:8080 aomitayo/openapi-editor my-openapi.yaml

where my-openapi.yaml is your openapi spec file.

Package Sidebar

Install

npm i @aomitayo/openapi-editor

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

9.9 kB

Total Files

8

Last publish

Collaborators

  • aomitayo