提交 d3e8875d 编写于 作者: K Kyle Shockey

Touch up swagger-ui-dist section

上级 675b3ff2
......@@ -38,7 +38,7 @@ app.use(express.static(pathToSwaggerUi))
app.listen(3000)
```
The bundle also exports `SwaggerUIBundle` and `SwaggerUIStandalonePreset`, so
The module also exports `SwaggerUIBundle` and `SwaggerUIStandalonePreset`, so
if you're in a JavaScript project that can't handle a tranditional npm module,
you could do something like this:
......@@ -56,6 +56,8 @@ const ui = SwaggerUIBundle({
})
```
`SwaggerUIBundle` is equivalent to `SwaggerUI`.
### Docker Hub
You can pull a pre-built docker image of the swagger-ui directly from Dockerhub:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册