Skip to content

Commit

Permalink
Merge pull request #3992 from Agnul97/fix-missingFieldsJobDocumentation
Browse files Browse the repository at this point in the history
FIX - inserted missing elements to "job execution" schema
  • Loading branch information
Coduz authored Mar 18, 2024
2 parents 1fd852e + 2e11d15 commit a7339cd
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ components:
allOf:
- $ref: '../openapi.yaml#/components/schemas/kapuaUpdatableEntity'
- type: object
properties:
startedOn:
description: The moment when the job execution started
type: string
format: 'date-time'
endedOn:
description: The moment when the job execution ended
type: string
format: 'date-time'
log:
description: logs for the job execution
type: string
jobId:
description: job id for this job execution
$ref: '../openapi.yaml#/components/schemas/kapuaId'
targetIds:
type: array
description: the IDs of the job target
items:
allOf:
- $ref: '../openapi.yaml#/components/schemas/kapuaId'
example:
type: jobExecution
id: GTh9xBWezHY
Expand Down

0 comments on commit a7339cd

Please sign in to comment.