Skip to content

Commit 8c8ed41

Browse files
committed
fix: import zod-to-json-schema bug
1 parent 2cbb030 commit 8c8ed41

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export default defineConfig({
1010
external: [
1111
],
1212
noExternal: [
13-
"zod-to-json-schema",
14-
"@omer-x/package-metadata",
1513
],
1614
esbuildPlugins: [
1715
],

0 commit comments

Comments
 (0)