From 296456f45f22d68027d0ac9bf372106ffede2b53 Mon Sep 17 00:00:00 2001 From: Bogdan Ungureanu Date: Thu, 28 Apr 2022 15:18:36 +0300 Subject: [PATCH] chore: fix swagger-ui rendering error --- swagger.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swagger.go b/swagger.go index 686faf4..53ebe29 100644 --- a/swagger.go +++ b/swagger.go @@ -227,7 +227,7 @@ const indexTemplate = ` -
+
@@ -239,7 +239,7 @@ window.onload = function() { deepLinking: {{.DeepLinking}}, docExpansion: "{{.DocExpansion}}", persistAuthorization: {{.PersistAuthorization}}, - dom_id: "{{.DomID}}", + dom_id: "#{{.DomID}}", validatorUrl: null, presets: [ SwaggerUIBundle.presets.apis,