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,47 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for SpendingRow
|
||||
void main() {
|
||||
final SpendingRow? instance = /* SpendingRow(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(SpendingRow, () {
|
||||
// decimal as string
|
||||
// String amountRub
|
||||
test('to test the property `amountRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int categoryId
|
||||
test('to test the property `categoryId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String categoryName
|
||||
test('to test the property `categoryName`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime month
|
||||
test('to test the property `month`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int rootCategoryId
|
||||
test('to test the property `rootCategoryId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String rootCategoryName
|
||||
test('to test the property `rootCategoryName`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int txnCount
|
||||
test('to test the property `txnCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user