Skip to content

Commit

Permalink
fix(swagger): remove uri to URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy PLANCKEEL committed Aug 1, 2022
1 parent 17361c3 commit 0f3d6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 0f3d6ca

Please sign in to comment.