chore(app): сгенерированный Dart-клиент из OpenAPI

openapi-generator-cli -g dart-dio. Генерируется, но коммитится: CI ловит дрейф
openapi/openapi.json, а приложение собирается без запуска генератора.
Пересобирается через just gen-client после любого изменения роутов.
This commit is contained in:
Dmitry
2026-09-18 13:44:09 +03:00
parent ce0966fca2
commit 90ba198c2a
176 changed files with 15733 additions and 0 deletions
@@ -0,0 +1,38 @@
import 'package:test/test.dart';
import 'package:fintracker_api/fintracker_api.dart';
/// tests for CashflowApi
void main() {
final instance = FintrackerApi().getCashflowApi();
group(CashflowApi, () {
// Monthly
//
// The last `months` months, oldest first.
//
//Future<List<CashFlowMonth>> cashflowMonthly({ int months }) async
test('test cashflowMonthly', () async {
// TODO
});
// Runway
//
// How many months the liquid reserve covers; null before the first refresh.
//
//Future<RunwayOut> cashflowRunway() async
test('test cashflowRunway', () async {
// TODO
});
// Spending
//
// Expenses of one month by category, largest first.
//
//Future<List<SpendingRow>> cashflowSpending({ String month }) async
test('test cashflowSpending', () async {
// TODO
});
});
}