[API] Removed api_blueprint docs and use swagger (#3595)

* [NGINX] Removed api docs location

* [WEB] Removed api_blueprint api docs

* [WEB] Added openapi/swagger api viewer

* [WEB] Added openapi.yaml with api docs

* [WEB] Added request body for create app password endpoint

* [Web] Updated types in openapi.yaml

* [Web] Only define API docs auth header once

* [Web] Added 401 api response to docs
This commit is contained in:
Timo N
2020-06-07 20:46:17 +02:00
committed by GitHub
parent 48b74d77a0
commit 5fe9de0500
15 changed files with 5184 additions and 24119 deletions

View File

@@ -61,10 +61,6 @@
rewrite ^(.*)$ $1.php last;
}
location /api {
try_files /_apidocs.html =404;
}
location ~ ^/api/v1/(.*)$ {
try_files $uri $uri/ /json_api.php?query=$1;
}