Добавил API счетов с ответами 201, 404 и 400 и тестами контроллера

This commit is contained in:
Kashey committed 2026-10-21 23:00:28 +03:00
1 parent cd404fae0b
commit 6dec1fe840
13 files changed
+196 -6

No files matched your search

@@ -49,11 +49,6 @@ public class OperationService {
}
private Operation requiredOperation(Long operationId) {
if (operationId == null) {
throw new IllegalArgumentException("Не указан ID операции");
}
Operation operation = journal.getOperationById(operationId);
if (operation == null) {