Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: reptile review feedback

=3cec1b4021b1
diff --git a/backend/src/server/routes/v2/project-router.ts b/backend/src/server/routes/v2/project-router.ts
index 37d1efee67..8b90913645 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 944f614027..2b9896f8a0 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}"
---