From 084422df1be9b3e27aaf2614cb1788a6da91da1e Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Thu, 30 Apr 2026 14:15:46 -0700 Subject: [PATCH] fix(openapi): address CodeRabbit feedback (BE-613) - max_upload_size is set in both runtimes via SERVER_FEATURE_FLAGS; drop the cloud-only / nullable tagging. - Require `url` on the application/json POST /api/assets body so the contract is enforceable by validators and codegen. --- openapi.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 04b355fc5..a0736a529 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -646,9 +646,7 @@ paths: type: integer format: int64 minimum: 0 - nullable: true - x-runtime: [cloud] - description: "[cloud-only] Maximum file upload size in bytes. Local ComfyUI returns null." + description: "Maximum file upload size in bytes." free_tier_credits: type: integer format: int32 @@ -1610,6 +1608,8 @@ paths: type: object x-runtime: [cloud] description: "[cloud-only] URL-based asset upload. Caller supplies a URL instead of a file body; the server fetches the content." + required: + - url properties: url: type: string