revert(assets): drop hand-edited openapi.yaml; file_path flows via cloud→core sync
Some checks are pending
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Build package / Build Test (3.10) (push) Waiting to run
Build package / Build Test (3.11) (push) Waiting to run
Build package / Build Test (3.12) (push) Waiting to run
Build package / Build Test (3.13) (push) Waiting to run
Build package / Build Test (3.14) (push) Waiting to run

Core openapi.yaml is downstream of the cloud spec (source of truth),
projected up by the sync. file_path is not yet in cloud main, so it must
arrive in core's spec via the sync (BE-932), not a hand-edit here. The
Python response models (schemas_out.py) still emit file_path/display_name.
This commit is contained in:
Matt Miller 2026-06-08 19:09:46 -07:00
parent 0e6d281157
commit cf238f6f74

View File

@ -16,10 +16,6 @@ components:
description: Display name of the asset. Mirrors name for backwards compatibility. description: Display name of the asset. Mirrors name for backwards compatibility.
nullable: true nullable: true
type: string type: string
file_path:
description: "Logical namespace key for the asset. For files under ComfyUI registered model-folder paths, uses models/<folder_name>/<filename>. Not a physical path, not stable across model-folder configuration changes, and not a unique reference key; use id for exact asset identity."
nullable: true
type: string
hash: hash:
description: Blake3 hash of the asset content. Preferred over asset_hash. description: Blake3 hash of the asset content. Preferred over asset_hash.
pattern: ^blake3:[a-f0-9]{64}$ pattern: ^blake3:[a-f0-9]{64}$
@ -152,10 +148,6 @@ components:
description: Display name of the asset. Mirrors name for backwards compatibility. description: Display name of the asset. Mirrors name for backwards compatibility.
nullable: true nullable: true
type: string type: string
file_path:
description: "Logical namespace key for the asset. For files under ComfyUI registered model-folder paths, uses models/<folder_name>/<filename>. Not a physical path, not stable across model-folder configuration changes, and not a unique reference key; use id for exact asset identity."
nullable: true
type: string
hash: hash:
description: Blake3 hash of the asset content. Preferred over asset_hash. description: Blake3 hash of the asset content. Preferred over asset_hash.
pattern: ^blake3:[a-f0-9]{64}$ pattern: ^blake3:[a-f0-9]{64}$