From e10c4d7eb26782b9c1b252521a0c61dd7ede5eae Mon Sep 17 00:00:00 2001 From: poccariswet Date: Tue, 7 Apr 2020 23:58:11 +0900 Subject: [PATCH] [FIX] parse comment error integer to string --- example/celler/controller/examples.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/celler/controller/examples.go b/example/celler/controller/examples.go index 5670ec8d0..cd2b89c5d 100644 --- a/example/celler/controller/examples.go +++ b/example/celler/controller/examples.go @@ -33,7 +33,7 @@ func (c *Controller) PingExample(ctx *gin.Context) { // @Produce json // @Param val1 query int true "used for calc" // @Param val2 query int true "used for calc" -// @Success 200 {integer} integer "answer" +// @Success 200 {integer} string "answer" // @Failure 400 {string} string "ok" // @Failure 404 {string} string "ok" // @Failure 500 {string} string "ok"