Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-853' into fix-853
Browse files Browse the repository at this point in the history
  • Loading branch information
sdghchj committed Dec 9, 2020
2 parents d638bb3 + c42e980 commit 63d939d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions example/celler/controller/examples.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,15 @@ func (c *Controller) AttributeExample(ctx *gin.Context) {
ctx.Query("default"),
))
}

// PostExample godoc
// @Summary post request example
// @Description post request example
// @Accept json
// @Produce plain
// @Param message body model.Account true "Account Info"
// @Success 200 {string} string "success"
// @Failure 500 {string} string "fail"
// @Router /examples/post [post]
func (c *Controller) PostExample(ctx *gin.Context) {
}

0 comments on commit 63d939d

Please sign in to comment.