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,130 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for TransactionOut
|
||||
void main() {
|
||||
final TransactionOut? instance = /* TransactionOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(TransactionOut, () {
|
||||
// int categoryId
|
||||
test('to test the property `categoryId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String comment
|
||||
test('to test the property `comment`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime date
|
||||
test('to test the property `date`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool deleted
|
||||
test('to test the property `deleted`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// FlowType flowType
|
||||
test('to test the property `flowType`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool hold
|
||||
test('to test the property `hold`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String income
|
||||
test('to test the property `income`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int incomeAccountId
|
||||
test('to test the property `incomeAccountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String incomeCurrency
|
||||
test('to test the property `incomeCurrency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String incomeRub
|
||||
test('to test the property `incomeRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool isOneOff
|
||||
test('to test the property `isOneOff`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int mcc
|
||||
test('to test the property `mcc`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String outcome
|
||||
test('to test the property `outcome`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int outcomeAccountId
|
||||
test('to test the property `outcomeAccountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String outcomeCurrency
|
||||
test('to test the property `outcomeCurrency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String outcomeRub
|
||||
test('to test the property `outcomeRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String payee
|
||||
test('to test the property `payee`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String payeeCanonical
|
||||
test('to test the property `payeeCanonical`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String sourceId
|
||||
test('to test the property `sourceId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<int> tags
|
||||
test('to test the property `tags`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int tripId
|
||||
test('to test the property `tripId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime ts
|
||||
test('to test the property `ts`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user