story/PMT-27-mitarbeiter-aus-einem-projekt #17

Merged
SZUT-Ole merged 7 commits from story/PMT-27-mitarbeiter-aus-einem-projekt into trunk 2024-10-23 10:48:09 +00:00
Showing only changes of commit 2f6222ff00 - Show all commits

View file

@ -210,3 +210,39 @@ paths:
type: string
500:
$ref: "#/components/responses/InternalError"
/project/{id}/employee/{employeeId}:
delete:
operationId: "removeEmployeeFromProject"
description: "Removes an employee from a Project"
parameters:
- in: path
name: id
schema:
type: integer
format: int64
required: true
- in: path
name: employeeId
schema:
type: integer
format: int64
required: true
responses:
204:
description: "Deletes the employee from the Project"
401:
$ref: "#/components/responses/Unauthorized"
404:
description: "Employee not found"
SZUT-Dominik marked this conversation as resolved Outdated

$ref

$ref
content:
text/plain:
schema:
type: string
409:
$ref: "#/components/responses/Conflict"
500:
$ref: "#/components/responses/InternalError"
503:
$ref: "#/components/responses/ServiceUnavailable"