Docker安装Swagger
docker pull swaggerapi/swagger-editor
docker run -d --name swagger -p 8888:8080 swaggerapi/swagger-editor
Docker安装GoSwagger
docker pull quay.io/goswagger/swagger
alias goswagger="docker run --rm -it --user $(id -u):$(id -g) -e GOPATH=$HOME/go:/go -v $HOME:$HOME -w $(pwd) quay.io/goswagger/swagger"
goswagger version
其他安装方法见