feat: added api document for project router get id from slug

This commit is contained in:
=
2025-08-13 02:27:12 +05:30
parent dbbd58ffb7
commit 97b2c534a7
3 changed files with 7 additions and 0 deletions
@@ -283,6 +283,8 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
rateLimit: readLimit
},
schema: {
hide: false,
tags: [ApiDocsTags.Projects],
params: z.object({
slug: slugSchema({ max: 36 }).describe("The slug of the project to get.")
}),