- Download one of the releases from the Swagger UI repository
- Move the
dist
folder into thisswagger
directory - Rename the
dist
folder toui
- Inside the
ui
folder, open theswagger-initializer.js
file - Replace the
url
with the desired OpenAPI specification (in this case:../ecomap.yml
)
For more information: https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/installation.md