Skip to content

Commit

Permalink
Update examples.go
Browse files Browse the repository at this point in the history
  • Loading branch information
agzuniverse committed Nov 14, 2020
1 parent 3f47d68 commit a99adb8
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 a99adb8

Please sign in to comment.