[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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user