aafe46a738
docs: Update AGENTS.md for Feature 5 (PDF Merge) completion
...
- Update test count: 82 passed, 7 skipped (was 62 passed)
- Update PdfOperationsController status: Partial (1/N endpoints), 7 tests
- Add PdfOperationsController Status section with merge endpoint details
- Mark merge endpoint as DONE (Phase 1, Priority 5)
- List remaining Phase 2 endpoints: stamp, annotate
2026-07-21 10:22:04 +02:00
f7433111a7
test: Add PDF/A validation tests and manual testing guide
...
- Add unit tests for ValidatePdfAQueryHandler (4 tests)
- Add integration tests for PDF/A validation endpoint (6 tests)
- Fix FluentValidation: Add Base64 format validation to ValidatePdfAQueryValidator
- Update AGENTS.md: Document 3-folder test structure rationale and test count (30 tests)
- Add DocumentOperator.API/README.md: 16 manual test scenarios for all endpoints
Test coverage:
- Unit: ValidatePdfAQueryHandler (compliant, non-compliant, encrypted, exceptions)
- Integration: PDF/A endpoint (multipart + Base64, validation, error handling)
- Manual: Step-by-step Swagger UI testing guide for all features
All 30 automated tests passing.
2026-07-09 14:01:57 +02:00
dc0af68d26
docs: Update API specification based on Marvin/Marlon feedback
...
CONTROLLER_ENDPOINTS.md changes:
- Binary stream output for all operations (NO outputPath, NO base64)
- PDF Operations: merge, stamp, annotate → return application/pdf stream
- PDF Conversion: to-pdfa, from-pdfa → return application/pdf stream
- Attachment Extraction: extract → return application/zip stream
- Add Attachment endpoint (Phase 2): embed files in PDF/PDF/A-3
- Swiss QR Code endpoint documented (already implemented)
- PdfRenderController REMOVED (moved to .NET client library)
AGENTS.md changes:
- Current Status: SwissQrCodeController ✅ DONE (2 tests)
- Current Status: PdfValidationController ✅ Partial (4 tests)
- Phase reorganization:
- Phase 1: validate, validate-pdfa, check, extract (SwissQR), extract (attachments), merge
- Phase 2: stamp, annotate, add-attachment
- Phase 3: to-pdfa, from-pdfa
- Removed PdfRenderController from all phases
Design decisions (team consensus):
- Server endpoints stay granular (validate, check, extract separate)
- Combined operations (validateANDextract) → .NET client library
- Binary streams avoid filesystem dependencies
- No base64 overhead (~33%), client library handles conversions
Result: Clean API spec, memory-based operations, client convenience layer
2026-07-08 15:46:10 +02:00