The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add x-speakeasy-globals-hidden
Kiran K0e1e81a47b4e
diff --git a/apps/web/lib/openapi/index.ts b/apps/web/lib/openapi/index.tsindex 36c2325f51..af6d87de44 100644--- a/apps/web/lib/openapi/index.ts+++ b/apps/web/lib/openapi/index.ts@@ -61,6 +61,7 @@ export const openApiObject: ZodOpenApiObject = {"x-speakeasy-globals": {parameters: [{+ "x-speakeasy-globals-hidden": true,name: "workspaceId",in: "query",required: true,diff --git a/apps/web/lib/openapi/links/create-link.ts b/apps/web/lib/openapi/links/create-link.tsindex 188209697b..0c18cb761f 100644--- a/apps/web/lib/openapi/links/create-link.ts+++ b/apps/web/lib/openapi/links/create-link.ts@@ -1,8 +1,7 @@-import { ZodOpenApiOperationObject } from "zod-openapi";-import { openApiErrorResponses } from "@/lib/openapi/responses";import z from "@/lib/zod";import { LinkSchema, createLinkBodySchema } from "@/lib/zod/schemas/links";+import { ZodOpenApiOperationObject } from "zod-openapi";export const createLink: ZodOpenApiOperationObject = {operationId: "createLink",@@ -10,14 +9,11 @@ export const createLink: ZodOpenApiOperationObject = {summary: "Create a new link",description: "Create a new link for the authenticated workspace.",requestParams: {- query: z- .object({- workspaceId: z- .string()- .describe("The ID of the workspace to create the link for.")-- })- // .openapi({ "x-speakeasy-ignore": true }),+ query: z.object({+ workspaceId: z+ .string()+ .describe("The ID of the workspace to create the link for."),+ }),},requestBody: {content: {