mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
Add missing error code
This commit is contained in:
parent
5af1fa19b9
commit
1fc090965d
@ -171,6 +171,7 @@ func decode(r io.Reader, val interface{}) error {
|
|||||||
// @success 200 {object} api.GetJobsApiResponse "Job array and page info"
|
// @success 200 {object} api.GetJobsApiResponse "Job array and page info"
|
||||||
// @failure 400 {object} api.ErrorResponse "Bad Request"
|
// @failure 400 {object} api.ErrorResponse "Bad Request"
|
||||||
// @failure 401 {object} api.ErrorResponse "Unauthorized"
|
// @failure 401 {object} api.ErrorResponse "Unauthorized"
|
||||||
|
// @failure 403 {object} api.ErrorResponse "Forbidden"
|
||||||
// @failure 500 {object} api.ErrorResponse "Internal Server Error"
|
// @failure 500 {object} api.ErrorResponse "Internal Server Error"
|
||||||
// @security ApiKeyAuth
|
// @security ApiKeyAuth
|
||||||
// @router /jobs/ [get]
|
// @router /jobs/ [get]
|
||||||
|
Loading…
Reference in New Issue
Block a user