fix(build): correct JSON schema target from draft-07 to draft-7

Fix invalid target warning in schema generation.
Schema regenerated with correct draft-7 target.
This commit is contained in:
YeonGyu-Kim
2026-02-21 14:19:52 +09:00
parent c1c7d18133
commit 2d79d64bb2
2 changed files with 145 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import { OhMyOpenCodeConfigSchema } from "../src/config/schema"
export function createOhMyOpenCodeJsonSchema(): Record<string, unknown> {
const jsonSchema = z.toJSONSchema(OhMyOpenCodeConfigSchema, {
target: "draft-07",
target: "draft-7",
unrepresentable: "any",
})