mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 11:16:36 +00: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:
parent
2ff6b5388e
commit
d74a189e1c
@ -889,8 +889,7 @@ components:
|
|||||||
description: Device type
|
description: Device type
|
||||||
index:
|
index:
|
||||||
type: integer
|
type: integer
|
||||||
nullable: true
|
description: Device index (may be omitted for CPU devices)
|
||||||
description: Device index
|
|
||||||
vram_total:
|
vram_total:
|
||||||
type: number
|
type: number
|
||||||
description: Total VRAM in bytes
|
description: Total VRAM in bytes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user