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.
doc: update site legal info get swagger doc
LinkinStar53f6413d456e
diff --git a/internal/controller/siteinfo_controller.go b/internal/controller/siteinfo_controller.goindex d522c47c..80d6faa7 100644--- a/internal/controller/siteinfo_controller.go+++ b/internal/controller/siteinfo_controller.go@@ -49,8 +49,9 @@ func (sc *SiteinfoController) GetSiteInfo(ctx *gin.Context) {// @Summary get site legal info// @Description get site legal info// @Tags site+// @Param info_type query string true "legal information type" Enums(tos, privacy)// @Produce json-// @Success 200 {object} handler.RespBody{data=schema.SiteGeneralResp}+// @Success 200 {object} handler.RespBody{data=schema.GetSiteLegalInfoResp}// @Router /answer/api/v1/siteinfo/legal [get]func (sc *SiteinfoController) GetSiteLegalInfo(ctx *gin.Context) {req := &schema.GetSiteLegalInfoReq{}