[Web] Swagger UI: explicitly define used OpenAPI specifications (#4587)
This commit is contained in:
parent
9a812edee4
commit
b68eae16e5
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user