mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-22 09:13:26 +00:00
[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:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user