diff --git a/docs/usage/installation.md b/docs/usage/installation.md index a7438447..72ecb21a 100644 --- a/docs/usage/installation.md +++ b/docs/usage/installation.md @@ -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: