From 48b836e203898572f077d424f3d81bcbd93b019d Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Wed, 2 Oct 2024 11:40:32 +0200 Subject: [PATCH] fix(RemoveProjectAction): update response code to 204 --- .../de/szut/lf8_starter/project/action/RemoveProjectAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/szut/lf8_starter/project/action/RemoveProjectAction.java b/src/main/java/de/szut/lf8_starter/project/action/RemoveProjectAction.java index bacc931..d14dbee 100644 --- a/src/main/java/de/szut/lf8_starter/project/action/RemoveProjectAction.java +++ b/src/main/java/de/szut/lf8_starter/project/action/RemoveProjectAction.java @@ -24,7 +24,7 @@ public class RemoveProjectAction { @Operation(summary = "Remove project by ID") @ApiResponses(value = { - @ApiResponse(responseCode = "200", description = "Project deleted", content = {}), + @ApiResponse(responseCode = "204", description = "Project deleted", content = {}), @ApiResponse(responseCode = "404", description = "Project not found", content = @Content) }) @DeleteMapping("/{id}")