https://github.com/zgiber/sweb
Swagger Editor Backend
https://github.com/zgiber/sweb
Last synced: about 1 year ago
JSON representation
Swagger Editor Backend
- Host: GitHub
- URL: https://github.com/zgiber/sweb
- Owner: zgiber
- License: apache-2.0
- Created: 2016-05-31T21:29:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-01T13:49:43.000Z (about 10 years ago)
- Last Synced: 2025-03-30T10:05:32.185Z (about 1 year ago)
- Language: Go
- Size: 35.8 MB
- Stars: 11
- Watchers: 0
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sweb
Swagger Editor Backend
## Installation
```
go get -u github.com/zgiber/sweb
```
## usage
```
Usage of sweb:
-f string
the full path to the document being edited (default "api-spec.yaml")
-p string
port for editor's http backend (default "8765")
-se string
the full path to swagger-editor installation (default "builtin")
```
### Important stuff
The backend can only run in one instance, and you'll be able to work on one file at a time. If there will be demand, it is possible that it will support multiple files.
There is no save button. Whatever you do is saved. There is undo in the editor, but it's still easy to mess up. The idea is that you use this tool inside a git repository
so you can revert changes etc.