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