veza/veza-backend-api/internal
senke 067b58b9d8 api-contracts: add backend tests for response format consistency
- Created comprehensive test suite for response format
- Test Success() returns wrapped format {success: true, data: {...}}
- Test Created() returns wrapped format
- Test Error() returns wrapped format for all status codes
- Test RespondWithAppError() returns wrapped format
- Test ValidationError() returns wrapped format with details
- Test all helper functions use wrapped format consistently
- All 7 test functions pass successfully (13+ test cases)
- Tests verify all response helpers return wrapped format
- Action 1.3.2.5 complete - backend response format verified
2026-01-15 17:36:39 +01:00
..
api api-versioning: add X-API-Deprecated header and frontend deprecation warning 2026-01-15 16:56:21 +01:00
common refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
config incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
core incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
database incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
dto feat: Visual masterpiece - true light mode & premium UI 2026-01-11 02:32:21 +01:00
email STABILISATION: phase 3–5 – API contract, tests & chat-server hardening 2025-12-06 17:21:59 +01:00
errors refactor(marketplace): enforce unified api response envelope 2025-12-06 17:39:04 +01:00
eventbus adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
features adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
handlers api-contracts: update backend handlers to use wrapped format 2026-01-15 17:32:02 +01:00
infrastructure STABILISATION: phase 3–5 – API contract, tests & chat-server hardening 2025-12-06 17:21:59 +01:00
interfaces adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
jobs STABILISATION: phase 3–5 – API contract, tests & chat-server hardening 2025-12-06 17:21:59 +01:00
logging incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
metrics [BE-DB-018] be-db: Add database performance monitoring 2025-12-24 15:58:48 +01:00
middleware incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
models incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
monitoring stabilizing veza-backend-api: P1 & P2 2025-12-16 13:34:08 -05:00
recovery incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
repositories [BE-DB-003] be-db: Add soft delete support to all models 2025-12-24 15:07:25 +01:00
repository adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
response api-contracts: add backend tests for response format consistency 2026-01-15 17:36:39 +01:00
security adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
services incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
shutdown incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
testutils stabilizing veza-backend-api: phase 1 2025-12-16 11:23:49 -05:00
tracing incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
types adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
upload [INT-015] int: Add file upload format standardization 2025-12-25 15:40:01 +01:00
utils incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
validators incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
websocket incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
workers stabilizing veza-backend-api: phase 1 2025-12-16 11:23:49 -05:00