Skip to content

Commit

Permalink
Merge pull request #85 from Randsw/swagger
Browse files Browse the repository at this point in the history
fix(api): Fix swagger doc import path
  • Loading branch information
Randsw authored Nov 29, 2023
2 parents 42b941e + bcfc455 commit 68fd0db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/randsw/kubeinfo/handlers"
"github.com/randsw/kubeinfo/logger"
prom "github.com/randsw/kubeinfo/prometheus-exporter"
_ "github.com/swaggo/http-swagger/example/gorilla/docs" // docs is generated by Swag CLI, you have to import it.
_ "github.com/randsw/kubeinfo/docs" // docs is generated by Swag CLI, you have to import it.
httpSwagger "github.com/swaggo/http-swagger/v2"
"go.uber.org/zap"
)
Expand All @@ -26,7 +26,7 @@ import (
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html

// @host kubeinfo.swagger.io
// @host kubeinfo-kubeinfo-backend.kubeinfo.svc
// @BasePath /
func main() {
//Loger Initialization
Expand Down

0 comments on commit 68fd0db

Please sign in to comment.