Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update openAPIDocument import

Kiran Kf408e12b00a6
diff --git a/apps/web/app/api/route.ts b/apps/web/app/api/route.ts
index 4cace65cde..8513fa934b 100644
--- a/apps/web/app/api/route.ts
+++ b/apps/web/app/api/route.ts
@@ -1,5 +1,5 @@
import { NextResponse } from "next/server";
-import { openAPIDocument } from "@/lib/openapi";
+import { openAPIDocument } from "@/lib/zod/openapi";
import { oas31 } from "openapi3-ts";
export const runtime = "edge";
diff --git a/apps/web/lib/openapi/index.ts b/apps/web/lib/zod/openapi/index.ts
similarity index 92%
rename from apps/web/lib/openapi/index.ts
rename to apps/web/lib/zod/openapi/index.ts
index f9fdb8ec5e..6bf04ef516 100644
--- a/apps/web/lib/openapi/index.ts
+++ b/apps/web/lib/zod/openapi/index.ts
@@ -1,6 +1,6 @@
import { createDocument } from "zod-openapi";
-import { TagSchemaOpenApi, tagPaths } from "../zod/schemas/tags";
+import { TagSchemaOpenApi, tagPaths } from "../schemas/tags";
export const openAPIDocument = createDocument({
openapi: "3.0.0",
diff --git a/apps/web/lib/zod/schemas/projects.ts b/apps/web/lib/zod/schemas/projects.ts
new file mode 100644
index 0000000000..e69de29bb2