Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(swagger): fix title and description on swagger docs

LinkinStars2e67b9ca6f7c
diff --git a/cmd/answer/main.go b/cmd/answer/main.go
index fb91f594..9ba33b6f 100644
--- a/cmd/answer/main.go
+++ b/cmd/answer/main.go
@@ -26,10 +26,9 @@ import (
)
// main godoc
-// @title "apache answer"
-// @description = "apache answer api"
-// @version = "v0.0.1"
-// @BasePath = "/"
+// @title Apache Answer
+// @description Apache Answer API
+// @BasePath /
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization