refactor(api): describe bank operation create body as oneOf by kind (WealthLedger/backend#172) #173

Merged
codex-bot merged 1 commits from refactor/172-bank-operation-oneof into develop 2026-11-04 17:47:37 +03:00
Owner

Closes #172. Related consumer: WealthLedger/frontend#144.

POST /api/v1/bank-cards/operations теперь в OpenAPI содержит oneOf + discriminator kind для expense/topup/transfer/refund; runtime DTO и PATCH не изменены. После merge скопировать опубликованный контракт во frontend (PR по frontend#144).

Проверки: npm run verify (310/310), npm run test:openapi-contract (4/4), npm run test:e2e — pass.

Closes #172. Related consumer: WealthLedger/frontend#144. POST /api/v1/bank-cards/operations теперь в OpenAPI содержит oneOf + discriminator kind для expense/topup/transfer/refund; runtime DTO и PATCH не изменены. После merge скопировать опубликованный контракт во frontend (PR по frontend#144). Проверки: npm run verify (310/310), npm run test:openapi-contract (4/4), npm run test:e2e — pass.
codex-bot added 1 commit 2026-11-04 14:16:45 +03:00
refactor(api): describe bank operation create body as oneOf by kind (WealthLedger/backend#172)
Backend verify / commits (pull_request) Successful in 1m32s
Backend verify / security (pull_request) Successful in 1m8s
Backend verify / verify (pull_request) Successful in 6m24s
55054295fd
codex-bot merged commit 02e0d560c8 into develop 2026-11-04 17:47:37 +03:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WealthLedger/backend#173