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.

add requestParams to getTags operation

Kiran Kd38617f64cb6
diff --git a/apps/web/lib/openapi/tags/get-tags.ts b/apps/web/lib/openapi/tags/get-tags.ts
index 6a355ca188..82f76918ec 100644
--- a/apps/web/lib/openapi/tags/get-tags.ts
+++ b/apps/web/lib/openapi/tags/get-tags.ts
@@ -1,6 +1,6 @@
import { openApiErrorResponses } from "@/lib/openapi/responses";
import z from "@/lib/zod";
-import { TagSchema } from "@/lib/zod/schemas/tags";
+import { getTagsQuerySchema, TagSchema } from "@/lib/zod/schemas/tags";
import { ZodOpenApiOperationObject } from "zod-openapi";
export const getTags: ZodOpenApiOperationObject = {
@@ -8,6 +8,9 @@ export const getTags: ZodOpenApiOperationObject = {
"x-speakeasy-name-override": "list",
summary: "Retrieve a list of tags",
description: "Retrieve a list of tags for the authenticated workspace.",
+ requestParams: {
+ query: getTagsQuerySchema,
+ },
responses: {
"200": {
description: "A list of tags",