From 46d28676f0636172d58496d3a3ef02a5b48f8e54 Mon Sep 17 00:00:00 2001 From: dex-bot Date: Mon, 27 Apr 2026 20:20:04 -0400 Subject: [PATCH] CUB-5: Add 400 BadRequest ProducesResponseType to GET /filaments endpoint --- backend/API/Controllers/FilamentsController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/API/Controllers/FilamentsController.cs b/backend/API/Controllers/FilamentsController.cs index 5bb951e..f39c81d 100644 --- a/backend/API/Controllers/FilamentsController.cs +++ b/backend/API/Controllers/FilamentsController.cs @@ -40,6 +40,7 @@ public class FilamentsController : ControllerBase /// Returns the paginated list of filament spools. [HttpGet] [ProducesResponseType(typeof(PagedResponse), StatusCodes.Status200OK)] + [ProducesResponseType(StatusCodes.Status400BadRequest)] public async Task>> GetFilaments( [FromQuery] FilamentQueryParameters query) {