openapi-generator-cli -g dart-dio. Генерируется, но коммитится: CI ловит дрейф openapi/openapi.json, а приложение собирается без запуска генератора. Пересобирается через just gen-client после любого изменения роутов.
32 lines
666 B
Dart
32 lines
666 B
Dart
import 'package:test/test.dart';
|
|
import 'package:fintracker_api/fintracker_api.dart';
|
|
|
|
// tests for TransactionPage
|
|
void main() {
|
|
final TransactionPage? instance = /* TransactionPage(...) */ null;
|
|
// TODO add properties to the entity
|
|
|
|
group(TransactionPage, () {
|
|
// List<TransactionOut> items
|
|
test('to test the property `items`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// int page
|
|
test('to test the property `page`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// int pageSize
|
|
test('to test the property `pageSize`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// int total
|
|
test('to test the property `total`', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|