From 0f3d6ca6735ea4bc71bf75caa7f68e44c882f4a9 Mon Sep 17 00:00:00 2001 From: Jeremy PLANCKEEL Date: Mon, 1 Aug 2022 14:11:03 +0200 Subject: [PATCH] fix(swagger): remove uri to URL --- pkg/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/server.go b/pkg/server/server.go index ee7a917..fe738b1 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -37,7 +37,7 @@ func (s *Server) Initialize() error { router := mux.NewRouter() router.PathPrefix("/swagger/").Handler(httpSwagger.Handler( - httpSwagger.URL("http://localhost:9101/swagger/doc.json"), //The url pointing to API definition + httpSwagger.URL("doc.json"), //The url pointing to API definition httpSwagger.DeepLinking(true), httpSwagger.DocExpansion("none"), httpSwagger.DomID("swagger-ui"),