@@ -49,7 +49,7 @@ components:
4949        labels :
5050          type : array 
5151          items :
52-             $ref : ' ../common/delete-options .yaml#/components/schemas/AppLabel' 
52+             $ref : ' labels .yaml#/components/schemas/AppLabel' 
5353        description :
5454          type : string 
5555          description : Description of the job 
@@ -69,7 +69,7 @@ components:
6969        material :
7070          type : array 
7171          items :
72-             $ref : ' ../common/delete-options .yaml#/components/schemas/GitMaterial' 
72+             $ref : ' labels .yaml#/components/schemas/GitMaterial' 
7373        teamId :
7474          type : integer 
7575          description : Team ID 
@@ -158,6 +158,40 @@ components:
158158          type : string 
159159          format : date-time 
160160
161+     ErrorResponse :
162+       required :
163+         - code 
164+         - status 
165+       properties :
166+         code :
167+           type : integer 
168+           format : int32 
169+           description : Error code 
170+         status :
171+           type : string 
172+           description : Error message 
173+         errors :
174+           type : array 
175+           description : List of errors 
176+           items :
177+             $ref : ' #/components/schemas/Error' 
178+ 
179+     Error :
180+       required :
181+         - code 
182+         - status 
183+       properties :
184+         code :
185+           type : integer 
186+           format : int32 
187+           description : Error internal code 
188+         internalMessage :
189+           type : string 
190+           description : Error internal message 
191+         userMessage :
192+           type : string 
193+           description : Error user message 
194+ 
161195  tags :
162196    - name : Jobs 
163197      description : Job management operations for creating, cloning, and retrieving jobs 
@@ -197,19 +231,19 @@ paths:
197231          content :
198232            application/json :
199233              schema :
200-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
234+                 $ref : ' #/components/schemas/ErrorResponse' 
201235        ' 401 ' 
202236          description : Unauthorized 
203237          content :
204238            application/json :
205239              schema :
206-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
240+                 $ref : ' #/components/schemas/ErrorResponse' 
207241        ' 500 ' 
208242          description : Internal server error 
209243          content :
210244            application/json :
211245              schema :
212-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
246+                 $ref : ' #/components/schemas/ErrorResponse' 
213247      tags :
214248        - Jobs 
215249  /job/list :
@@ -246,19 +280,19 @@ paths:
246280          content :
247281            application/json :
248282              schema :
249-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
283+                 $ref : ' #/components/schemas/ErrorResponse' 
250284        ' 401 ' 
251285          description : Unauthorized 
252286          content :
253287            application/json :
254288              schema :
255-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
289+                 $ref : ' #/components/schemas/ErrorResponse' 
256290        ' 500 ' 
257291          description : Internal server error 
258292          content :
259293            application/json :
260294              schema :
261-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
295+                 $ref : ' #/components/schemas/ErrorResponse' 
262296      tags :
263297        - Jobs 
264298
@@ -299,24 +333,24 @@ paths:
299333          content :
300334            application/json :
301335              schema :
302-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
336+                 $ref : ' #/components/schemas/ErrorResponse' 
303337        ' 401 ' 
304338          description : Unauthorized 
305339          content :
306340            application/json :
307341              schema :
308-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
342+                 $ref : ' #/components/schemas/ErrorResponse' 
309343        ' 404 ' 
310344          description : Job not found 
311345          content :
312346            application/json :
313347              schema :
314-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
348+                 $ref : ' #/components/schemas/ErrorResponse' 
315349        ' 500 ' 
316350          description : Internal server error 
317351          content :
318352            application/json :
319353              schema :
320-                 $ref : ' ../common/delete-options.yaml #/components/schemas/ErrorResponse' 
354+                 $ref : ' #/components/schemas/ErrorResponse' 
321355      tags :
322356        - Jobs 
0 commit comments