migrate LSP data schemas to Effect Schema (#23745)

This commit is contained in:
Kit Langton
2026-04-21 17:26:50 -04:00
committed by GitHub
parent caaddf0964
commit 7933657135
4 changed files with 49 additions and 54 deletions

View File

@@ -90,7 +90,7 @@ export const FileRoutes = lazy(() =>
description: "Symbols",
content: {
"application/json": {
schema: resolver(LSP.Symbol.array()),
schema: resolver(LSP.Symbol.zod.array()),
},
},
},

View File

@@ -260,7 +260,7 @@ export const InstanceRoutes = (upgrade: UpgradeWebSocket): Hono => {
description: "LSP server status",
content: {
"application/json": {
schema: resolver(LSP.Status.array()),
schema: resolver(LSP.Status.zod.array()),
},
},
},