mirror of
https://github.com/beego/bee.git
synced 2024-11-21 23:50:54 +00:00
added doc for GetAll template
This commit is contained in:
parent
7fa01c437c
commit
932e73a9a2
@ -754,7 +754,12 @@ func (this *{{ctrlName}}Controller) GetOne() {
|
|||||||
|
|
||||||
// @Title Get All
|
// @Title Get All
|
||||||
// @Description get {{ctrlName}}
|
// @Description get {{ctrlName}}
|
||||||
// @Param id path string true "get all records matches certain condition"
|
// @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..."
|
||||||
|
// @Param fields query string false "Fields returned. e.g. col1,col2 ..."
|
||||||
|
// @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..."
|
||||||
|
// @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..."
|
||||||
|
// @Param limit query string false "Limit the size of result set. Must be an integer"
|
||||||
|
// @Param offset query string false "Start position of result set. Must be an integer"
|
||||||
// @Success 200 {object} models.{{ctrlName}}
|
// @Success 200 {object} models.{{ctrlName}}
|
||||||
// @Failure 403
|
// @Failure 403
|
||||||
// @router / [get]
|
// @router / [get]
|
||||||
|
Loading…
Reference in New Issue
Block a user