From d09d8f85e3ef1c0084ea6b1ca504732250ec405f Mon Sep 17 00:00:00 2001 From: eee4 <41441600+eee4@users.noreply.github.com> Date: Mon, 21 Jul 2025 11:38:59 +0200 Subject: [PATCH] fix: deleting quote produces response code 200, not 204 --- Controllers/QuoteController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controllers/QuoteController.cs b/Controllers/QuoteController.cs index 89d93a9..f2ae556 100644 --- a/Controllers/QuoteController.cs +++ b/Controllers/QuoteController.cs @@ -240,12 +240,12 @@ public class QuotesController : ControllerBase /// /// Json with status /// Quote id which will be deleted - /// Returned on valid request + /// Returned on valid request /// Returned when no such quote exists [HttpDelete("{id}")] [Authorize] [EnableCors] - [ProducesResponseType(204)] + [ProducesResponseType(200)] [ProducesResponseType(typeof(ErrorDTO), 404)] public async Task DeleteQuote(int id) {