mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-11 17:52:46 +08:00
Add job_id field to Asset schema and deprecate prompt_id (#13736)
- Add job_id as a nullable UUID field to the Asset schema - Mark prompt_id as deprecated with note pointing to job_id - No x-runtime tag needed as both runtimes populate the field
This commit is contained in:
parent
f25474bd83
commit
7939f73fc5
@ -5893,7 +5893,14 @@ components:
|
|||||||
prompt_id:
|
prompt_id:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
description: ID of the prompt that created this asset
|
nullable: true
|
||||||
|
deprecated: true
|
||||||
|
description: "Deprecated: use job_id instead. ID of the prompt that created this asset."
|
||||||
|
job_id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
description: ID of the job that created this asset
|
||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user