Compare commits

...

1 Commits

Author SHA1 Message Date
Alex Petric
2eb7360210 fix: add leaf_job to openapi spec of QueuedJob 2025-05-01 17:56:35 -04:00

View File

@@ -13430,6 +13430,8 @@ components:
type: string
raw_code:
type: string
leaf_job:
$ref: "#/components/schemas/LeafJob"
canceled:
type: boolean
canceled_by:
@@ -16729,4 +16731,30 @@ components:
channel_name:
type: string
description: Microsoft Teams channel name
minLength: 1
minLength: 1
LeafJob:
type: object
additionalProperties:
oneOf:
- type: object
properties:
SingleJob:
type: string
format: uuid
description: UUID of an individual job
required:
- SingleJob
additionalProperties: false
- type: object
properties:
ListJob:
type: array
items:
type: string
format: uuid
description: Array of UUIDs for multiple related jobs
required:
- ListJob
additionalProperties: false
description: Map of keys to JobResult, which can be either SingleJob (individual UUID) or ListJob (array of UUIDs)