chore(app): сгенерированный Dart-клиент из OpenAPI
openapi-generator-cli -g dart-dio. Генерируется, но коммитится: CI ловит дрейф openapi/openapi.json, а приложение собирается без запуска генератора. Пересобирается через just gen-client после любого изменения роутов.
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user