chore(app): сгенерированный Dart-клиент из OpenAPI
openapi-generator-cli -g dart-dio. Генерируется, но коммитится: CI ловит дрейф openapi/openapi.json, а приложение собирается без запуска генератора. Пересобирается через just gen-client после любого изменения роутов.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
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
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user