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