diff --git a/src/core/zod-to-openapi.ts b/src/core/zod-to-openapi.ts index 47511a5..86f34fb 100644 --- a/src/core/zod-to-openapi.ts +++ b/src/core/zod-to-openapi.ts @@ -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"; diff --git a/tsup.config.ts b/tsup.config.ts index b573343..3792123 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -14,7 +14,6 @@ export default defineConfig({ external: [ ], noExternal: [ - "zod-to-json-schema", ], esbuildPlugins: [ ],