浏览代码

manual merge #654

bubble
Tony Tam 9 年前
父节点
当前提交
b98005b584
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. +9
    -0
      README.md

+ 9
- 0
README.md 查看文件

@@ -35,6 +35,15 @@ You can rebuild swagger-ui on your own to tweak it or just so you can say you di
2. npm run-script build
3. You should see the distribution under the dist folder. Open ./dist/index.html to launch Swagger UI in a browser

### Build using Docker

To build swagger-ui using a docker container:

```
docker build -t swagger-ui-builder .
docker run -v $PWD/dist:/build/dist swagger-ui-builder
```

### Use
Once you open the Swagger UI, it will load the [Swagger Petstore](http://petstore.swagger.wordnik.com/api/api-docs) service and show its APIs. You can enter your own server url and click explore to view the API.



正在加载...
取消
保存