PMT-4: Define new endpoint
This commit is contained in:
parent
c434a84b90
commit
ed7245e367
1 changed files with 15 additions and 0 deletions
15
api/pmt.yml
15
api/pmt.yml
|
@ -171,3 +171,18 @@ paths:
|
|||
500:
|
||||
$ref: "#/components/responses/InternalError"
|
||||
|
||||
/project/{id}/employee/{employeeId}:
|
||||
post:
|
||||
operationId: "addEmployee"
|
||||
description: "Adds an employee to a specific Project"
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
responses:
|
||||
204:
|
||||
description: "Employee successfully added to the specific Project"
|
||||
409:
|
||||
$ref: "#/components/responses/Conflict"
|
||||
404:
|
||||
$ref: "#/components/responses/NotFound"
|
||||
|
||||
|
|
Loading…
Reference in a new issue