mirror of https://gitee.com/answerdev/answer.git
doc: update site legal info get swagger doc
This commit is contained in:
parent
b08e20ff99
commit
53f6413d45
|
@ -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{}
|
||||
|
|
Loading…
Reference in New Issue