[英]How to install Swagger on Ubuntu
I want to install Swagger on Ubuntu.我想在 Ubuntu 上安装 Swagger。 I am new to swagger.
我是大摇大摆的新手。 I want to do some api documentation by using swagger.
我想通过使用 swagger 来做一些 api 文档。 For that what are things i need to install on my machine?
为此,我需要在我的机器上安装哪些东西? Please send me the information as soon as possible.
请尽快把资料发给我。
npm install -g http-server
git clone https://github.com/swagger-api/swagger-editor.git
http-server -p 8080 swagger-editor
If you are using docker, simply pull and run the swaggerapi/swagger-editor如果您使用的是docker ,只需拉取并运行swaggerapi/swagger-editor
docker pull swaggerapi/swagger-editor
docker run -p 80:8080 swaggerapi/swagger-editor
Open your browser to http://localhost:80/打开浏览器访问http://localhost:80/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.