Fixed openapi generation command for mobile

This commit is contained in:
Alex Tran
2022-12-06 16:10:04 -06:00
parent f91bdc2785
commit b5a5363a6a
82 changed files with 363 additions and 4231 deletions

View File

@@ -26,21 +26,35 @@ void main() {
// TODO
});
//Future deleteAsset(DeleteAssetDto deleteAssetDto) async
//
//
// Checks if multiple assets exist on the server and returns all existing - used by background backup
//
//Future<CheckExistingAssetsResponseDto> checkExistingAssets(CheckExistingAssetsDto checkExistingAssetsDto) async
test('test checkExistingAssets', () async {
// TODO
});
//Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) async
test('test deleteAsset', () async {
// TODO
});
//Future<Object> downloadFile(String aid, String did, { bool isThumb, bool isWeb }) async
//Future<Object> downloadFile(String assetId, { bool isThumb, bool isWeb }) async
test('test downloadFile', () async {
// TODO
});
//Future<Object> downloadLibrary({ num skip }) async
test('test downloadLibrary', () async {
// TODO
});
//
//
// Get all AssetEntity belong to the user
//
//Future<List<AssetResponseDto>> getAllAssets() async
//Future<List<AssetResponseDto>> getAllAssets({ String ifNoneMatch }) async
test('test getAllAssets', () async {
// TODO
});
@@ -54,12 +68,27 @@ void main() {
// TODO
});
//Future<List<Object>> getAssetSearchTerms() async
//Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async
test('test getAssetByTimeBucket', () async {
// TODO
});
//Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async
test('test getAssetCountByTimeBucket', () async {
// TODO
});
//Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() async
test('test getAssetCountByUserId', () async {
// TODO
});
//Future<List<String>> getAssetSearchTerms() async
test('test getAssetSearchTerms', () async {
// TODO
});
//Future<Object> getAssetThumbnail(String assetId) async
//Future<Object> getAssetThumbnail(String assetId, { ThumbnailFormat format }) async
test('test getAssetThumbnail', () async {
// TODO
});
@@ -88,11 +117,20 @@ void main() {
// TODO
});
//Future<Object> serveFile(String aid, String did, { bool isThumb, bool isWeb }) async
//Future<Object> serveFile(String assetId, { bool isThumb, bool isWeb }) async
test('test serveFile', () async {
// TODO
});
//
//
// Update an asset
//
//Future<AssetResponseDto> updateAsset(String assetId, UpdateAssetDto updateAssetDto) async
test('test updateAsset', () async {
// TODO
});
//Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData) async
test('test uploadFile', () async {
// TODO