From 1fc090965d70ca3e78fabbd557f13f4157499256 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Mon, 27 Feb 2023 09:16:18 +0100 Subject: [PATCH] Add missing error code --- internal/api/rest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/rest.go b/internal/api/rest.go index 95b87b2..a262fca 100644 --- a/internal/api/rest.go +++ b/internal/api/rest.go @@ -171,6 +171,7 @@ func decode(r io.Reader, val interface{}) error { // @success 200 {object} api.GetJobsApiResponse "Job array and page info" // @failure 400 {object} api.ErrorResponse "Bad Request" // @failure 401 {object} api.ErrorResponse "Unauthorized" +// @failure 403 {object} api.ErrorResponse "Forbidden" // @failure 500 {object} api.ErrorResponse "Internal Server Error" // @security ApiKeyAuth // @router /jobs/ [get]