rnd:swagger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rnd:swagger [2020/05/11 04:40]
tech2admin
rnd:swagger [2020/05/11 05:11] (current)
tech2admin
Line 1: Line 1:
-==== Swagger ====+==== Swagger ​- API Documentation====
   * Clone the Editor   * Clone the Editor
     * <​code>​git clone https://​github.com/​swagger-api/​swagger-editor.git swagger-editor-doc</​code>​     * <​code>​git clone https://​github.com/​swagger-api/​swagger-editor.git swagger-editor-doc</​code>​
Line 6: Line 6:
   * Install swagger UI distribution   * Install swagger UI distribution
     * <​code>​npm install --save swagger-ui-dist</​code>​     * <​code>​npm install --save swagger-ui-dist</​code>​
 +  * 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
 +      * [[https://​apiwiki.widya.com.au/​docs/​swagger/​editor/​]]
 +    * swagger-ui-dist
 +      * [[https://​apiwiki.widya.com.au/​docs/​swagger/​swagger-ui-dist/​]]
 +  * Edit the Index file od=f swagger-ui-dist and update the path to json file
  • rnd/swagger.1589172012.txt.gz
  • Last modified: 2020/05/11 04:40
  • by tech2admin