swagger-uiswagger
// golang
go get -u github.com/voidint/swagger-hub/...
//
ln -s $GOPATH/bin/doc-server /usr/local/bin/doc-server
$ doc-server -h
Usage of doc-server:
-dir string
-domain string
HTTP (default "apihub.idcos.net")
-log string
() (default "doc-server.log")
-port uint
(default 80)
dir
: web
domain
: HTTP`localhost``IP```log
: ()port
:YAML``JSON``dir``web``api
doc-server --dir $GOPATH/src/github.com/voidint/swagger-hub/web --domain localhost --log /tmp/doc-server.log --port 8090
http://localhost:8090
api
api
()HTMLapi
HTMLgolang``template``strings.Replace()
htmlversion