Files
ResolveSpec/pkg
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-12 09:23:54 +02:00
2025-12-12 09:23:54 +02:00
2025-12-20 10:42:51 +02:00
2025-12-20 10:42:51 +02:00
2025-12-12 10:13:11 +02:00
2025-12-19 16:32:14 +02:00
2025-11-10 11:43:15 +02:00