Skip to content

Commit

Permalink
fix: import zod-to-json-schema bug
Browse files Browse the repository at this point in the history
  • Loading branch information
omermecitoglu committed Oct 23, 2024
1 parent 03235d3 commit 4dd6d0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/zod-to-openapi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import zodToJsonSchema from "zod-to-json-schema";
import { zodToJsonSchema } from "zod-to-json-schema";
import { isFile } from "~/utils/zod-schema";
import type { SchemaObject } from "@omer-x/openapi-types/schema";
import type { ZodObject, ZodType } from "zod";
Expand Down
1 change: 0 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default defineConfig({
external: [
],
noExternal: [
"zod-to-json-schema",
],
esbuildPlugins: [
],
Expand Down

0 comments on commit 4dd6d0b

Please sign in to comment.