Files
openapi/cloud
zeekay bc5b315903 cloud+nexus: fix file-op request body -> dedicated FileInput (red MEDIUM)
add-file/delete-file (cloud) and addFile/deleteFile (nexus) referenced the stale
UI-tree response component object.File/File {children,isLeaf,key,title} as their
request body -- which LACKS owner/name/filename/store, the fields the handler
actually binds (ai/object/file.go:35, controllers/file.go:153/177). That handed
generated clients a body they can't fill. Now reference a dedicated request schema
object.FileInput / FileInput built from the real struct: owner+name required;
filename/store/url/size/createdTime/storageProvider/tokenCount/status/errorText
optional. delete-connection's object.Connection/Connection verified correct
(ai/object/connection.go) and left unchanged.
2026-07-26 19:32:38 -07:00
..