Swagger - API Documentation
- Clone the Editor
git clone https://github.com/swagger-api/swagger-editor.git swagger-editor-doc
- Install swagger UI
npm install --save swagger-ui
- Install swagger UI distribution
npm install --save swagger-ui-dist
- Copy swagger-ui-dist from node-modules to root of swagger
- Also create a folder call editor and copy all swagger editor files in to that
- In the root there will be only 2 folders
- editor
- swagger-ui-dist
- Edit the Index file od=f swagger-ui-dist and update the path to json file