README.md 426 Bytes
Newer Older
Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
1
2
3
4
# openapi cloud editor

A swagger editor that rocks. Can save the editing swagger file server-side and also protect the editor with a password.

Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
5
6
## Build
`docker build -t openapicloudeditor:latest .`
Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
7

Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
8
## Run
Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
9

10
`docker run --rm -d -e BASICAUTH="editor:password" -v ${PWD}/swagger.yaml:/swagger.yaml -p 8631:8631 openapicloudeditor`
Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
11

Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
12
* you can override the file name of swagger.yaml using the enviroment5 variable `SWAGGERFILE`
Panagiotis Skarvelis's avatar
Panagiotis Skarvelis committed
13