From b68eae16e5542bfa91654ca4208be3e9ed2c7bf9 Mon Sep 17 00:00:00 2001 From: Andri Steiner Date: Fri, 13 May 2022 10:40:22 +0200 Subject: [PATCH] [Web] Swagger UI: explicitly define used OpenAPI specifications (#4587) --- data/web/api/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/api/index.html b/data/web/api/index.html index 907470da..581ffba4 100644 --- a/data/web/api/index.html +++ b/data/web/api/index.html @@ -39,7 +39,7 @@ window.onload = function() { // Begin Swagger UI call region const ui = SwaggerUIBundle({ - url: "/api/openapi.yaml", + urls: [{url: "/api/openapi.yaml", name: "mailcow API"}], dom_id: '#swagger-ui', deepLinking: true, presets: [