feat(httpapi): bridge file read endpoints (#24098)

This commit is contained in:
Kit Langton
2026-04-24 09:12:05 -04:00
committed by GitHub
parent f8e939d96f
commit 9f7ecd65e5
7 changed files with 203 additions and 60 deletions
@@ -117,7 +117,7 @@ export const FileRoutes = lazy(() =>
description: "Files and directories",
content: {
"application/json": {
schema: resolver(File.Node.array()),
schema: resolver(File.Node.zod.array()),
},
},
},
@@ -146,7 +146,7 @@ export const FileRoutes = lazy(() =>
description: "File content",
content: {
"application/json": {
schema: resolver(File.Content),
schema: resolver(File.Content.zod),
},
},
},
@@ -175,7 +175,7 @@ export const FileRoutes = lazy(() =>
description: "File status",
content: {
"application/json": {
schema: resolver(File.Info.array()),
schema: resolver(File.Info.zod.array()),
},
},
},