docling-studio/document-parser/tests
Pier-Jean Malandrino 1b8cfe0a6b Fix Serve API contract: send to_formats as repeated form fields
Docling Serve expects array fields (to_formats) as repeated multipart
keys (to_formats=md&to_formats=html&to_formats=json), not a JSON
string. Changed _build_form_data to return list[tuple] so httpx sends
repeated keys correctly. Fixes 422 Unprocessable Entity on convert.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 16:52:36 +02:00
..
__init__.py Add a stronger testing strategy 2026-03-18 14:46:37 +01:00
test_analysis_service.py Fix zombie jobs and unprotected JSON parse 2026-03-31 16:52:36 +02:00
test_api_endpoints.py Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
test_bbox.py Fix Ruff errror, update node and fix buttton breakline 2026-03-23 10:13:24 +01:00
test_models.py Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
test_pipeline_options.py Fix lint ans test errors 2026-03-31 16:35:48 +02:00
test_repos.py Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
test_schemas.py Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
test_serve_converter.py Fix Serve API contract: send to_formats as repeated form fields 2026-03-31 16:52:36 +02:00