Files
ResolveSpec/pkg/restheadspec
copilot-swe-agent[bot] 2a2d351ad4 Fix API returning null with 200 code when no records found
- Modified handleRead to always return empty array [] instead of null when no ID provided
- Added X-No-Data-Found header when result count is 0
- Updated normalizeResultArray to keep empty arrays as arrays instead of converting to empty objects
- Updated sendFormattedResponse and sendResponseWithOptions to handle empty data properly
- All responses now return 200 OK instead of 206 Partial Content when no data found
- Added comprehensive tests to verify the fix

Co-authored-by: warkanum <208308+warkanum@users.noreply.github.com>
2025-12-30 13:57:15 +00:00
..
2025-12-08 16:56:48 +02:00
2025-11-20 14:30:59 +02:00
2025-11-11 11:03:02 +02:00
2025-12-08 16:56:48 +02:00
2025-12-08 16:56:48 +02:00
2025-12-30 14:12:07 +02:00
2025-11-10 10:22:55 +02:00
2025-12-12 09:45:44 +02:00
2025-12-19 16:52:34 +02:00
2025-12-08 16:56:48 +02:00
2025-12-09 12:01:21 +02:00
2025-11-20 12:47:36 +02:00
2025-11-20 12:47:36 +02:00