doc: add groups endpoints to api reference documentation

This commit is contained in:
Sheen Capadngan
2024-09-25 15:31:54 +08:00
parent da86338bfe
commit 3e3f42a8f7
16 changed files with 79 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export const registerGroupRouter = async (server: FastifyZodProvider) => {
onRequest: verifyAuth([AuthMode.JWT, AuthMode.IDENTITY_ACCESS_TOKEN]),
schema: {
params: z.object({
id: z.string()
id: z.string().trim().describe(GROUPS.GET_BY_ID.id)
}),
response: {
200: GroupsSchema