mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-27 16:26:39 +00:00
[openapi] Update server URL to use /api prefix
- Changed server URL from / to /api to reflect the canonical API path - Made device index field nullable to match actual server response This addresses the review comment about endpoints needing the /api/ prefix.
This commit is contained in:
parent
d65ad9940b
commit
2a032017b2
@ -16,7 +16,7 @@ info:
|
||||
url: https://github.com/comfyanonymous/ComfyUI/blob/master/LICENSE
|
||||
|
||||
servers:
|
||||
- url: /
|
||||
- url: /api
|
||||
description: Default ComfyUI server
|
||||
|
||||
tags:
|
||||
@ -889,6 +889,7 @@ components:
|
||||
description: Device type
|
||||
index:
|
||||
type: integer
|
||||
nullable: true
|
||||
description: Device index
|
||||
vram_total:
|
||||
type: number
|
||||
|
Loading…
x
Reference in New Issue
Block a user