[Web] Swagger UI: explicitly define used OpenAPI specifications (#4587)

This commit is contained in:
Andri Steiner
2022-05-13 10:40:22 +02:00
committed by GitHub
parent 9a812edee4
commit b68eae16e5

View File

@@ -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: [