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