Skip to content

Commit 4dd6d0b

Browse files
committed
fix: import zod-to-json-schema bug
1 parent 03235d3 commit 4dd6d0b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/core/zod-to-openapi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import zodToJsonSchema from "zod-to-json-schema";
1+
import { zodToJsonSchema } from "zod-to-json-schema";
22
import { isFile } from "~/utils/zod-schema";
33
import type { SchemaObject } from "@omer-x/openapi-types/schema";
44
import type { ZodObject, ZodType } from "zod";

tsup.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export default defineConfig({
1414
external: [
1515
],
1616
noExternal: [
17-
"zod-to-json-schema",
1817
],
1918
esbuildPlugins: [
2019
],

0 commit comments

Comments
 (0)