fix(server): pin openapi genreator patch and regenerate api (#3573)

* fix(server): pin openapi genreator patch and regenerate api

* variable
This commit is contained in:
Alex 2023-08-06 15:55:14 -05:00 committed by GitHub
parent 3edb347666
commit 13df619ba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 1145 additions and 812 deletions

View file

@ -35,10 +35,10 @@ class CreateAlbumDto {
@override
bool operator ==(Object other) => identical(this, other) || other is CreateAlbumDto &&
other.albumName == albumName &&
_deepEquality.equals(other.assetIds, assetIds) &&
other.description == description &&
_deepEquality.equals(other.sharedWithUserIds, sharedWithUserIds);
other.albumName == albumName &&
other.assetIds == assetIds &&
other.description == description &&
other.sharedWithUserIds == sharedWithUserIds;
@override
int get hashCode =>
@ -73,12 +73,12 @@ class CreateAlbumDto {
return CreateAlbumDto(
albumName: mapValueOfType<String>(json, r'albumName')!,
assetIds: json[r'assetIds'] is Iterable
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
assetIds: json[r'assetIds'] is List
? (json[r'assetIds'] as List).cast<String>()
: const [],
description: mapValueOfType<String>(json, r'description'),
sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable
? (json[r'sharedWithUserIds'] as Iterable).cast<String>().toList(growable: false)
sharedWithUserIds: json[r'sharedWithUserIds'] is List
? (json[r'sharedWithUserIds'] as List).cast<String>()
: const [],
);
}