diff --git a/services/api/pkg/http/job.go b/services/api/pkg/http/job.go index f15f1ef..a4daa6b 100644 --- a/services/api/pkg/http/job.go +++ b/services/api/pkg/http/job.go @@ -85,9 +85,9 @@ func (h *JobHandler) CreateJob(w http.ResponseWriter, r *http.Request) error { // @Param pageSize query int false "Number of elements" // @Accept json // @Produce json -// @Success 201 {object} map[string]string "Successfully retrieved jobs" -// @Failure 400 {object} map[string]string "Invalid request data" -// @Failure 500 {object} map[string]string "Internal server error" +// @Success 200 {object} map[string]any "Successfully retrieved jobs" +// @Failure 400 {object} map[string]any "Invalid request data" +// @Failure 500 {object} map[string]any "Internal server error" // @Router /jobs [get] func (h *JobHandler) GetJobs(w http.ResponseWriter, r *http.Request) error { query := ports.GetJobQuery{