- swagger-ui is a traditional npm module intended for use in JavaScript web application projects that are capable of resolving dependencies (via Webpack, Browserify, etc).
- swagger-ui-dist is a dependency-free module that includes everything you need to serve Swagger-UI in a server-side project, or a web project that can't resolve npm module dependencies.
For the older version of swagger-ui, refer to the 2.x branch.
- git clone https://github.com/WPMedia/alc-swagger-ui.git
- run
npm install
- run
npm run build
- The following files will be generated in
/dist
:- swagger-ui-bundle.js
- swagger-ui-bundle.js.map
- swagger-ui-standalone-preset.js
- swagger-ui-standalone-preset.js.map
- swagger-ui.css
- swagger-ui.css.map
- swagger-ui.js
- swagger-ui.js.map
- Log into WP-Arc AWS console to access https://s3.console.aws.amazon.com/s3/buckets/arc-learning-center-static/docs/swagger/?region=us-east-1&tab=overview
- Replace the files above in this S3 directory and make public