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 tag schema in openapi document

Kiran K8a8f6c69a9e7
diff --git a/apps/web/lib/openapi/index.ts b/apps/web/lib/openapi/index.ts
index fb469cc7b9..f9fdb8ec5e 100644
--- a/apps/web/lib/openapi/index.ts
+++ b/apps/web/lib/openapi/index.ts
@@ -1,12 +1,13 @@
import { createDocument } from "zod-openapi";
-import { tagSchema, tagPaths } from "../zod/schemas/tags";
+import { TagSchemaOpenApi, tagPaths } from "../zod/schemas/tags";
export const openAPIDocument = createDocument({
openapi: "3.0.0",
info: {
title: "Dub.co API",
- description: "Dub is an open-source link management tool for modern marketing teams to create, share, and track short links.",
+ description:
+ "Dub is an open-source link management tool for modern marketing teams to create, share, and track short links.",
version: "0.0.1",
contact: {
name: "Dub.co Support",
@@ -30,7 +31,7 @@ export const openAPIDocument = createDocument({
},
components: {
schemas: {
- tagSchema,
+ TagSchemaOpenApi,
},
},
});