From 98b1e40dc95eee9389639de69dbd3769c1061296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20K=C3=BCck?= Date: Wed, 9 Oct 2024 10:49:49 +0200 Subject: [PATCH] PMT-15: added api documentation --- api/pmt.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/api/pmt.yml b/api/pmt.yml index fbcab1e..8c70a51 100644 --- a/api/pmt.yml +++ b/api/pmt.yml @@ -51,4 +51,30 @@ paths: 401: $ref: "#/components/responses/UnAuthorized" 500: - $ref: "#/components/responses/InternalError" \ No newline at end of file + $ref: "#/components/responses/InternalError" + + /project/{id}: + delete: + operationId: "deleteProject" + description: "Delete a specific Project" + parameters: + - in: path + name: id + schema: + type: integer + format: int64 + required: true + responses: + 204: + description: "Deletes a specific Project" + 401: + $ref: "#/components/responses/UnAuthorized" + 404: + description: "Project not found" + content: + text/plain: + schema: + type: string + 500: + $ref: "#/components/responses/InternalError" +