Arif Dogan
77a6432096
Refactor json error tests and improve error snippet handling in test_json_body_decode_error.py.
2025-10-03 13:11:21 +02:00
Arif Dogan
5c4055c3ea
Refactor JSON error handling in routing and tests for improvements.
2025-10-02 23:55:18 +02:00
Arif Dogan
dc1321b0d0
Add test for successful item creation in test_json_error_improvements.py
2025-09-19 16:48:11 +02:00
Arif Dogan
7a8da3a4ad
Add test for JSON decode error handling in long documents with early errors.
2025-09-19 16:42:42 +02:00
Arif Dogan
93e98d5cb7
Refactor code for improved readability and update tests to handle Pydantic v1 and v2 differences.
2025-09-18 23:40:25 +02:00
Arif Dogan
6b907a57f8
feat: enhance JSON parse errors with line/column info and snippets
...
column positions and error snippets to JSON decode errors for
better debugging experience. Updates error location format and provides
context around the problematic JSON.
2025-09-18 23:25:57 +02:00