mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
Add error res to swagger
This commit is contained in:
@@ -42,6 +42,16 @@ func ListActionTasks(ctx *context.APIContext) {
|
||||
// responses:
|
||||
// "200":
|
||||
// "$ref": "#/responses/TasksList"
|
||||
// "400":
|
||||
// "$ref": "#/responses/error"
|
||||
// "403":
|
||||
// "$ref": "#/responses/forbidden"
|
||||
// "404":
|
||||
// "$ref": "#/responses/notFound"
|
||||
// "409":
|
||||
// "$ref": "#/responses/error"
|
||||
// "422":
|
||||
// "$ref": "#/responses/validationError"
|
||||
page := ctx.FormInt("page")
|
||||
limit := convert.ToCorrectPageSize(ctx.FormInt("limit"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user