Browse Source

* API Docs.

pull/29/head
Per-Arne Andersen 5 years ago
parent
commit
2c80a718f3
  1. 2
      README.md
  2. 872
      wg_dashboard_frontend/package-lock.json
  3. 2
      wg_dashboard_frontend/package.json
  4. 3
      wg_dashboard_frontend/widdershins.json

2
README.md

@ -85,6 +85,8 @@ build:
# Usage
When docker container/server has started, go to http://localhost:8888
# API Docs
The API docs is found [here](./docs/api.md).
# Environment variables
| Environment | Description | Recommended |

872
wg_dashboard_frontend/package-lock.json

File diff suppressed because it is too large

2
wg_dashboard_frontend/package.json

@ -8,6 +8,7 @@
"license": "MIT",
"scripts": {
"ng": "ng",
"md-doc": "npm install widdershins && wget http://127.0.0.1:8000/openapi.json -O /tmp/wg-openapi.json && widdershins /tmp/wg-openapi.json --environment widdershins.json --resolve=true --omitHeader=true --language_tabs 'python:Python' -o ../docs/api.md",
"start": "ng serve --host 0.0.0.0 --disable-host-check",
"build": "ng build",
"buildwatch": "ng build --watch --aot --outputPath=../wg_dashboard_backend/build/ --host 0.0.0.0 --disable-host-check",
@ -59,6 +60,7 @@
"rxjs": "6.5.5",
"tslib": "^1.10.0",
"web-animations-js": "^2.3.2",
"widdershins": "^4.0.1",
"zone.js": "^0.10.3"
},
"devDependencies": {

3
wg_dashboard_frontend/widdershins.json

@ -0,0 +1,3 @@
{
"language_tabs": [{ "python": "Python" }]
}
Loading…
Cancel
Save