From 46faf6dd176b279cdc13ef9cf1397d18158a2b92 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 26 Sep 2019 17:56:37 +0200 Subject: Fix swagger-ui loading --- swagger-ui/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swagger-ui/index.html b/swagger-ui/index.html index e6df338..9bc580d 100644 --- a/swagger-ui/index.html +++ b/swagger-ui/index.html @@ -39,8 +39,7 @@ window.onload = function() { // Begin Swagger UI call region const ui = SwaggerUIBundle({ - url: 'http://someserver/openapi.json', - configUrl: '/swagger-config.yaml', + url: '/api', dom_id: '#swagger-ui', deepLinking: true, presets: [ -- cgit v1.2.1