mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 15:04:50 +08: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user