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 OpenAPI spec

Steven Tey8bae6ff04a86
diff --git a/apps/web/app/api/route.ts b/apps/web/app/api/route.ts
index b21624ad91..9c7f4f66c8 100644
--- a/apps/web/app/api/route.ts
+++ b/apps/web/app/api/route.ts
@@ -454,7 +454,7 @@ export function GET(): NextResponse<OpenAPIV3.Document> {
},
},
},
- "/projects/{slug}": {
+ "/projects/{projectSlug}": {
get: {
description: "Retrieve a project for the authenticated user.",
operationId: "getProject",
@@ -466,7 +466,7 @@ export function GET(): NextResponse<OpenAPIV3.Document> {
summary: "Retrieve a project",
parameters: [
{
- name: "slug",
+ name: "projectSlug",
description:
"The slug for the project to retrieve. E.g. for app.dub.co/acme, the projectSlug is 'acme'.",
in: "path",
@@ -492,7 +492,7 @@ export function GET(): NextResponse<OpenAPIV3.Document> {
},
},
},
- "/projects/{slug}/tags": {
+ "/projects/{projectSlug}/tags": {
get: {
description: "Retrieve a list of tags for the authenticated project.",
operationId: "getTags",
@@ -504,7 +504,7 @@ export function GET(): NextResponse<OpenAPIV3.Document> {
summary: "Retrieve a list of tags",
parameters: [
{
- name: "slug",
+ name: "projectSlug",
description:
"The slug for the project to retrieve tags for. E.g. for app.dub.co/acme, the projectSlug is 'acme'.",
in: "path",
@@ -543,7 +543,7 @@ export function GET(): NextResponse<OpenAPIV3.Document> {
summary: "Create a new tag",
parameters: [
{
- name: "slug",
+ name: "projectSlug",
description:
"The slug for the project to create tags for. E.g. for app.dub.co/acme, the projectSlug is 'acme'.",
in: "path",