deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
Generated
+1
-1
@@ -177,7 +177,7 @@ class ActivityApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<ActivityResponseDto>') as List)
|
||||
.cast<ActivityResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+3
-3
@@ -73,7 +73,7 @@ class AlbumApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -379,7 +379,7 @@ class AlbumApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AlbumResponseDto>') as List)
|
||||
.cast<AlbumResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -434,7 +434,7 @@ class AlbumApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+1
-1
@@ -189,7 +189,7 @@ class APIKeyApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<APIKeyResponseDto>') as List)
|
||||
.cast<APIKeyResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+11
-11
@@ -408,7 +408,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -464,7 +464,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<String>') as List)
|
||||
.cast<String>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -625,7 +625,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<String>') as List)
|
||||
.cast<String>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -797,7 +797,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<CuratedLocationsResponseDto>') as List)
|
||||
.cast<CuratedLocationsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -841,7 +841,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<CuratedObjectsResponseDto>') as List)
|
||||
.cast<CuratedObjectsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -971,7 +971,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<MapMarkerResponseDto>') as List)
|
||||
.cast<MapMarkerResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1028,7 +1028,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<MemoryLaneResponseDto>') as List)
|
||||
.cast<MemoryLaneResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1082,7 +1082,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1202,7 +1202,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1317,7 +1317,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<TimeBucketResponseDto>') as List)
|
||||
.cast<TimeBucketResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1755,7 +1755,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+1
-1
@@ -201,7 +201,7 @@ class AuditApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<FileChecksumResponseDto>') as List)
|
||||
.cast<FileChecksumResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ class AuthenticationApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AuthDeviceResponseDto>') as List)
|
||||
.cast<AuthDeviceResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+1
-1
@@ -62,7 +62,7 @@ class FaceApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetFaceResponseDto>') as List)
|
||||
.cast<AssetFaceResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+1
-1
@@ -141,7 +141,7 @@ class LibraryApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<LibraryResponseDto>') as List)
|
||||
.cast<LibraryResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+1
-1
@@ -110,7 +110,7 @@ class PartnerApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<PartnerResponseDto>') as List)
|
||||
.cast<PartnerResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+4
-4
@@ -201,7 +201,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -352,7 +352,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -407,7 +407,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<PersonResponseDto>') as List)
|
||||
.cast<PersonResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -457,7 +457,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+2
-2
@@ -54,7 +54,7 @@ class SearchApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<SearchExploreResponseDto>') as List)
|
||||
.cast<SearchExploreResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -206,7 +206,7 @@ class SearchApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<PersonResponseDto>') as List)
|
||||
.cast<PersonResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
+3
-3
@@ -73,7 +73,7 @@ class SharedLinkApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -164,7 +164,7 @@ class SharedLinkApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<SharedLinkResponseDto>') as List)
|
||||
.cast<SharedLinkResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -380,7 +380,7 @@ class SharedLinkApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+4
-4
@@ -141,7 +141,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<TagResponseDto>') as List)
|
||||
.cast<TagResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -192,7 +192,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -295,7 +295,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -350,7 +350,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Generated
+1
-1
@@ -247,7 +247,7 @@ class UserApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<UserResponseDto>') as List)
|
||||
.cast<UserResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user