diff --git a/README.md b/README.md index e8e7a793..e71b4f8f 100644 --- a/README.md +++ b/README.md @@ -90,11 +90,9 @@ For building the swagger definitions, create a python3 virtualenv and activate i and finally `python ./scripts/dump-swagger.py` to generate it to `./scripts/swagger/api-docs.json`. To make use of the generated file, there are a number of options: -* It can be uploaded from your filesystem to an online editor/viewer such as [on the swagger website](http://editor.swagger.io/). -* You can run a local HTTP server by running `./scripts/swagger-http-server.py`, and then view the documentation via an - online viewer; for example, at . -* You can host the swagger UI yourself. See for advice on how to - do so. +* You can open `./scripts/swagger-preview.html`in your browser, and then open the file by clicking on `Local JSON File`. +* You can run a local HTTP server by running `./scripts/swagger-http-server.py`, and then view the documentation by + opening `./scripts/swagger-preview.html` in your browser. ## Issue tracking diff --git a/scripts/swagger-preview.html b/scripts/swagger-preview.html new file mode 100644 index 00000000..de9ed729 --- /dev/null +++ b/scripts/swagger-preview.html @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file