Added swagger UI scripts
This commit is contained in:
committed by
Eugene Bujak
parent
4623817894
commit
09702c724e
13
openapi/README.md
Normal file
13
openapi/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
## AdGuard Home OpenAPI
|
||||
|
||||
We are using [OpenAPI specification](https://swagger.io/docs/specification/about/) to generate AdGuard Home API specification.
|
||||
|
||||
### How to edit the API spec
|
||||
|
||||
The easiest way would be to use [Swagger Editor](http://editor.swagger.io/) and just copy/paste the YAML file there.
|
||||
|
||||
### How to read the API doc
|
||||
|
||||
1. `yarn install`
|
||||
2. `yarn start`
|
||||
3. Open `http://localhost:3000/`
|
||||
Reference in New Issue
Block a user