Skip to content

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

Describe

Daniel Hougaarda0e25b8ea2cd
diff --git a/backend/src/server/routes/v2/project-membership-router.ts b/backend/src/server/routes/v2/project-membership-router.ts
index 94a3423a60..417fcb44c5 100644
--- a/backend/src/server/routes/v2/project-membership-router.ts
+++ b/backend/src/server/routes/v2/project-membership-router.ts
@@ -11,10 +11,10 @@ export const registerProjectMembershipRouter = async (server: FastifyZodProvider
url: "/:projectId/memberships",
schema: {
params: z.object({
- projectId: z.string()
+ projectId: z.string().describe("The ID of the project.")
}),
body: z.object({
- emails: z.string().email().array()
+ emails: z.string().email().array().describe("Emails of the users to add to the project.")
}),
response: {
200: z.object({
@@ -53,11 +53,11 @@ export const registerProjectMembershipRouter = async (server: FastifyZodProvider
url: "/:projectId/memberships",
schema: {
params: z.object({
- projectId: z.string()
+ projectId: z.string().describe("The ID of the project.")
}),
body: z.object({
- emails: z.string().email().array()
+ emails: z.string().email().array().describe("Emails of the users to remove from the project.")
}),
response: {
200: z.object({