docling-studio/document-parser
Pier-Jean Malandrino fe4e792885 Fix audit findings: remove domain→infra violation, align Serve API, fix DI
- Delete domain/parsing.py (broke hexagonal layering by importing infra)
- Migrate all tests to import directly from domain.value_objects and
  infra.local_converter
- Rewrite ServeConverter to match real Docling Serve v1 API contract:
  options sent as individual form fields (not JSON blob), response
  parsed from document.json_content (DoclingDocument), proper bbox
  coord_origin handling (TOPLEFT/BOTTOMLEFT)
- Transmit all conversion options including generate_picture_images
- Replace fragile lazy import circular dep with FastAPI Depends() +
  app.state for AnalysisService injection
- Add frontend file size validation (50MB) before upload

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 10:58:58 +02:00
..
api Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
domain Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
infra Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
persistence Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
services Refactor backend to hexagonal architecture for converter extensibility 2026-03-31 10:34:07 +02:00
tests Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
.dockerignore Work on full Docker integration 2026-03-17 13:33:36 +01:00
conftest.py Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
Dockerfile Refacto and add cp paste btn 2026-03-21 15:03:10 +01:00
main.py Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
package-lock.json Add slide on side bar in Studio mode 2026-03-20 16:24:38 +01:00
pyproject.toml Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
pytest.ini Add a stronger testing strategy 2026-03-18 14:46:37 +01:00
requirements.txt Add ServeConverter adapter for remote Docling Serve integration 2026-03-31 10:36:35 +02:00