Skip to content
Snippets Groups Projects
Commit 6dd5fd35 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

fix groups documentation

parent dd81d3b2
No related branches found
No related tags found
2 merge requests!20working endpoints and documentation,!18Resolve "Átfaktorálás"
...@@ -242,4 +242,6 @@ describe('/comment "Accepted" Functionality', () => { ...@@ -242,4 +242,6 @@ describe('/comment "Accepted" Functionality', () => {
) )
expect(response.statusCode).toBe(403) expect(response.statusCode).toBe(403)
}) })
// Create
// TODO
}) })
...@@ -38,11 +38,11 @@ paths: ...@@ -38,11 +38,11 @@ paths:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/Groups' $ref: '#/components/schemas/Groups'
/groups/{id}: /groups/{name}:
get: get:
tags: tags:
- 'Groups' - 'Groups'
summary: 'Get a group by ID' summary: 'Get a group by name'
description: 'Avaliable to anyone.' description: 'Avaliable to anyone.'
operationId: 'getOneGroup' operationId: 'getOneGroup'
responses: responses:
...@@ -55,7 +55,7 @@ paths: ...@@ -55,7 +55,7 @@ paths:
put: put:
tags: tags:
- 'Groups' - 'Groups'
summary: 'Update a Group by ID' summary: 'Update a Group by name'
description: 'This can only be done by a mentor.' description: 'This can only be done by a mentor.'
operationId: 'updateOneGroup' operationId: 'updateOneGroup'
requestBody: requestBody:
...@@ -73,7 +73,7 @@ paths: ...@@ -73,7 +73,7 @@ paths:
delete: delete:
tags: tags:
- 'Groups' - 'Groups'
summary: 'Delete Group by ID' summary: 'Delete Group by name'
description: 'This can only be done by a mentor.' description: 'This can only be done by a mentor.'
operationId: 'deleteOneGroup' operationId: 'deleteOneGroup'
responses: responses:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment