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:
@@ -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",
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user