1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 15:04:50 +08:00

[openapi] Remove nullable from device index field

The nullable syntax was causing validation issues. Since the field is optional,
it can simply be omitted when null.
This commit is contained in:
bymyself
2025-06-28 22:35:32 -07:00
parent 2ff6b5388e
commit d74a189e1c

View File

@@ -889,8 +889,7 @@ components:
description: Device type
index:
type: integer
nullable: true
description: Device index
description: Device index (may be omitted for CPU devices)
vram_total:
type: number
description: Total VRAM in bytes