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