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