chore: update openapi (#8470)

This commit is contained in:
Alex
2024-04-02 14:21:58 -05:00
committed by GitHub
parent 6dfa9e1146
commit 8337da183c
15 changed files with 173 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ class MemoryCreateDto {
List<String> assetIds;
Object data;
OnThisDayDto data;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -97,7 +97,7 @@ class MemoryCreateDto {
assetIds: json[r'assetIds'] is Iterable
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
data: mapValueOfType<Object>(json, r'data')!,
data: OnThisDayDto.fromJson(json[r'data'])!,
isSaved: mapValueOfType<bool>(json, r'isSaved'),
memoryAt: mapDateTime(json, r'memoryAt', r'')!,
seenAt: mapDateTime(json, r'seenAt', r''),