docs: Update AGENTS.md - PdfAttachmentController 2/3 endpoints, 62 tests

This commit is contained in:
2026-07-21 09:27:14 +02:00
parent fa4e55242d
commit cb552e54e7

View File

@@ -188,7 +188,7 @@ After completing all Phase 1-3 controllers (PdfValidation, PdfAttachment, SwissQ
dotnet build 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 ```powershell
dotnet test 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) | | **PdfValidationController** | ✅ DONE | 13 (7 validate + 6 validate-pdfa) |
| **SwissQrCodeController** | ✅ DONE | 2 | | **SwissQrCodeController** | ✅ DONE | 2 |
| **PdfAttachmentController** | ⏳ Pending | 0 | | **PdfAttachmentController** | ⏳ Partial (2/3 endpoints) | 10 (4 check + 6 extract) |
| **PdfOperationsController** | ⏳ Pending | 0 | | **PdfOperationsController** | ⏳ Pending | 0 |
| **PdfConversionController** | ⏳ 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. **Note:** PdfRenderController removed - moved to .NET client library.
--- ---