[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 authored and GitHub committed 2020-06-07 20:46:17 +02:00
1 parent 48b74d77a0
commit 5fe9de0500
15 files changed
+5184 -24119

No files matched your search

@@ -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;
}