PMT-4: Define new endpoint
Some checks failed
Quality Check / Validate OAS (push) Failing after 30s
Quality Check / Linting (push) Failing after 36s
Quality Check / Static Analysis (push) Failing after 37s
Quality Check / Testing (push) Failing after 36s

This commit is contained in:
Ole Kück 2024-10-16 15:02:56 +02:00
parent c434a84b90
commit ed7245e367
Signed by: SZUT-Ole
GPG key ID: 0A1DF1B37C4A1E4C

View file

@ -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"