fix(openapi): address CodeRabbit feedback (BE-613)
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled

- 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.
This commit is contained in:
Matt Miller 2026-04-30 14:15:46 -07:00
parent 2f6f4394f3
commit 084422df1b

View File

@ -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