openapi-generator-cli -g dart-dio. Генерируется, но коммитится: CI ловит дрейф openapi/openapi.json, а приложение собирается без запуска генератора. Пересобирается через just gen-client после любого изменения роутов.
100 lines
2.0 KiB
Dart
100 lines
2.0 KiB
Dart
import 'package:test/test.dart';
|
|
import 'package:fintracker_api/fintracker_api.dart';
|
|
|
|
// tests for AccountOut
|
|
void main() {
|
|
final AccountOut? instance = /* AccountOut(...) */ null;
|
|
// TODO add properties to the entity
|
|
|
|
group(AccountOut, () {
|
|
// bool archived
|
|
test('to test the property `archived`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// decimal as string
|
|
// String balance
|
|
test('to test the property `balance`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// DateTime balanceAsOf
|
|
test('to test the property `balanceAsOf`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Broker broker
|
|
test('to test the property `broker`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// decimal as string
|
|
// String creditLimit
|
|
test('to test the property `creditLimit`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String currency
|
|
test('to test the property `currency`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// int id
|
|
test('to test the property `id`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// bool includeInNetWorth
|
|
test('to test the property `includeInNetWorth`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// AccountKind kind
|
|
test('to test the property `kind`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// int mirrorOfAccountId
|
|
test('to test the property `mirrorOfAccountId`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String name
|
|
test('to test the property `name`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// DateTime openedAt
|
|
test('to test the property `openedAt`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// EventSource primaryEventSource
|
|
test('to test the property `primaryEventSource`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// AccountRole role
|
|
test('to test the property `role`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String source_
|
|
test('to test the property `source_`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// String sourceId
|
|
test('to test the property `sourceId`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// decimal as string
|
|
// String startBalance
|
|
test('to test the property `startBalance`', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|