openapi-generator-cli -g dart-dio. Генерируется, но коммитится: CI ловит дрейф openapi/openapi.json, а приложение собирается без запуска генератора. Пересобирается через just gen-client после любого изменения роутов.
48 lines
1022 B
Dart
48 lines
1022 B
Dart
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
|
|
});
|
|
|
|
});
|
|
}
|