rnd:swagger

  • 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
  • Edit the Index file od=f swagger-ui-dist and update the path to json file
  • rnd/swagger.txt
  • Last modified: 2020/05/11 05:11
  • by tech2admin