diff --git a/src/resources/comment/__tests__/commentFuncTest.js b/src/resources/comment/__tests__/commentFuncTest.js index c30044357facf56f918f211e65346e1a50765484..8e3c54d6dac2bcf4a01f30a4d1c34f474f98df76 100644 --- a/src/resources/comment/__tests__/commentFuncTest.js +++ b/src/resources/comment/__tests__/commentFuncTest.js @@ -242,4 +242,6 @@ describe('/comment "Accepted" Functionality', () => { ) expect(response.statusCode).toBe(403) }) + // Create + // TODO }) diff --git a/src/resources/groups/groupsDocs.yml b/src/resources/groups/groupsDocs.yml index 92cb1c4301544d520f09b2db0a6b96f29bc588bc..b7d468e19cd20832fe99390390fa2bd6966fe54f 100644 --- a/src/resources/groups/groupsDocs.yml +++ b/src/resources/groups/groupsDocs.yml @@ -38,11 +38,11 @@ paths: application/json: schema: $ref: '#/components/schemas/Groups' - /groups/{id}: + /groups/{name}: get: tags: - 'Groups' - summary: 'Get a group by ID' + summary: 'Get a group by name' description: 'Avaliable to anyone.' operationId: 'getOneGroup' responses: @@ -55,7 +55,7 @@ paths: put: tags: - 'Groups' - summary: 'Update a Group by ID' + summary: 'Update a Group by name' description: 'This can only be done by a mentor.' operationId: 'updateOneGroup' requestBody: @@ -73,7 +73,7 @@ paths: delete: tags: - 'Groups' - summary: 'Delete Group by ID' + summary: 'Delete Group by name' description: 'This can only be done by a mentor.' operationId: 'deleteOneGroup' responses: