diff --git a/backend/src/server/routes/v2/project-router.ts b/backend/src/server/routes/v2/project-router.ts index 37d1efee6..8b9091364 100644 --- a/backend/src/server/routes/v2/project-router.ts +++ b/backend/src/server/routes/v2/project-router.ts @@ -285,6 +285,12 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => { schema: { hide: false, tags: [ApiDocsTags.Projects], + description: "Get project details by slug", + security: [ + { + bearerAuth: [] + } + ], params: z.object({ slug: slugSchema({ max: 36 }).describe("The slug of the project to get.") }), diff --git a/docs/api-reference/endpoints/workspaces/get-workspace-by-slug.mdx b/docs/api-reference/endpoints/workspaces/get-workspace-by-slug.mdx index 944f61402..2b9896f8a 100644 --- a/docs/api-reference/endpoints/workspaces/get-workspace-by-slug.mdx +++ b/docs/api-reference/endpoints/workspaces/get-workspace-by-slug.mdx @@ -1,4 +1,4 @@ --- -title: "Get Project Details By Slug" +title: "Get Project By Slug" openapi: "GET /api/v2/workspace/{slug}" ---