Commit 6dd5fd35 authored by rlacko's avatar rlacko 💬
Browse files

fix groups documentation

parent dd81d3b2
......@@ -242,4 +242,6 @@ describe('/comment "Accepted" Functionality', () => {
)
expect(response.statusCode).toBe(403)
})
// Create
// TODO
})
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment