From cb552e54e7f70a34604c00c1444398a41015e658 Mon Sep 17 00:00:00 2001 From: TekH Date: Tue, 21 Jul 2026 09:27:14 +0200 Subject: [PATCH] docs: Update AGENTS.md - PdfAttachmentController 2/3 endpoints, 62 tests --- AGENTS.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 62145a9..f05cfed 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -188,7 +188,7 @@ After completing all Phase 1-3 controllers (PdfValidation, PdfAttachment, SwissQ dotnet build ``` -**Run tests (30 tests as of Feature 3 - PDF/A Validation):** +**Run tests (62 passed, 7 skipped as of Feature 4 - PDF Attachment Extraction):** ```powershell dotnet test ``` @@ -275,10 +275,15 @@ Do NOT add `if (result.IsSuccess)` checks. Throw exceptions for errors. The midd |-----------|--------|-------| | **PdfValidationController** | ✅ DONE | 13 (7 validate + 6 validate-pdfa) | | **SwissQrCodeController** | ✅ DONE | 2 | -| **PdfAttachmentController** | ⏳ Pending | 0 | +| **PdfAttachmentController** | ⏳ Partial (2/3 endpoints) | 10 (4 check + 6 extract) | | **PdfOperationsController** | ⏳ Pending | 0 | | **PdfConversionController** | ⏳ Pending | 0 | +**PdfAttachmentController Status:** +- ✅ `POST /api/pdf/attachments/check` - DONE (with multipart + Base64 support) +- ✅ `POST /api/pdf/attachments/extract` - DONE (Phase 1, Priority 4) - Returns ZIP with all attachments +- ⏳ `POST /api/pdf/attachments/add` - TODO (Phase 2, Priority 7) + **Note:** PdfRenderController removed - moved to .NET client library. ---