From 405ee0f29512ce32faf6e833ee681b6261873a1a Mon Sep 17 00:00:00 2001 From: Maysam Torabi Date: Tue, 8 Oct 2024 13:17:29 +0200 Subject: [PATCH] Correct link to swagger JSON file in swagger-ui #293 --- priv/static/swagger-initializer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/static/swagger-initializer.js b/priv/static/swagger-initializer.js index 8ea0ea3..05500b3 100644 --- a/priv/static/swagger-initializer.js +++ b/priv/static/swagger-initializer.js @@ -3,7 +3,7 @@ window.onload = function() { // the following lines will be replaced by docker/configurator, when it runs in a docker-container window.ui = SwaggerUIBundle({ - url: "https://petstore.swagger.io/v2/swagger.json", + url: "swagger.json", dom_id: '#swagger-ui', deepLinking: true, presets: [