https://github.com/swagger-api/swagger-ui/
The folder /dist
includes all the HTML, CSS and JS files needed to run SwaggerUI on a static website or CMS, without requiring NPM.
- Download the latest release.
- Copy the contents of the
/dist
folder to your server. - Open
swagger-initializer.js
in your text editor and replace "https://petstore.swagger.io/v2/swagger.json" with the URL for your OpenAPI 3.0 spec.