From 2a032017b23d589457bfb0fb93cbd5d7c91b0b0b Mon Sep 17 00:00:00 2001 From: bymyself Date: Sat, 28 Jun 2025 22:30:24 -0700 Subject: [PATCH] [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. --- openapi.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 82a95bc8c..1fa394fb7 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -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