fix: better file/content return

This commit is contained in:
Adam
2025-09-04 12:39:34 -05:00
parent d440ba32ab
commit f171250033
4 changed files with 61 additions and 18 deletions

View File

@@ -974,12 +974,7 @@ export namespace Server {
description: "File content",
content: {
"application/json": {
schema: resolver(
z.object({
type: z.enum(["raw", "patch"]),
content: z.string(),
}),
),
schema: resolver(File.Content),
},
},
},