Добавил 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

@@ -16,6 +16,9 @@ public class OperationJournal {
}
public Operation getOperationById(Long id) {
if (id == null) {
throw new IllegalArgumentException("Не указан ID операции");
}
return operations.get(id);
}