diff --git a/testdata/struct_comment/api/api.go b/testdata/struct_comment/api/api.go index f96433d2d..422775002 100644 --- a/testdata/struct_comment/api/api.go +++ b/testdata/struct_comment/api/api.go @@ -7,7 +7,7 @@ import "net/http" // @Accept json // @Produce json // @Param post_id path int true "Some ID" Format(int64) -// @Success 200 {string} web.Post +// @Success 200 {string} string "" // @Failure 400 {object} web.APIError "We need ID!!" // @Failure 404 {object} web.APIError "Can not find ID" // @Router /posts/{post_id} [get]