Spaces:
Runtime error
Runtime error
Akshar2325 commited on
Commit ·
1d6d4ff
1
Parent(s): 4b6b4e5
docs(upload): standardize API tags across all storage modules
Browse files- Update Backblaze B2 Storage API tag to "Upload: Backblaze B2 Storage"
- Update Cloudinary API tag to "Upload: Cloudinary Storage"
- Update Filestack API tag to "Upload: Filestack Storage"
- Update ImageKit.io API tag to "Upload: ImageKit.io Storage"
- Update NewMinio Storage API tag to "Upload: NewMinio Storage"
- Update OldMinio Storage API tag to "Upload: OldMinio Storage"
- Update SeaweedFS Storage API tag to "Upload: SeaweedFS Storage"
- Update Supabase Storage API tag to "Upload: Supabase Storage"
- Improves API documentation consistency and clarity by prefixing all storage module tags with "Upload:" namespace
- src/shared/modules/upload/backblaze-storage/backblaze-storage.controller.ts +1 -1
- src/shared/modules/upload/cloudinary/cloudinary.controller.ts +1 -1
- src/shared/modules/upload/filestack/filestack.controller.ts +1 -1
- src/shared/modules/upload/imagekitio/imagekitio.controller.ts +1 -1
- src/shared/modules/upload/new-minio-storage/new-minio-storage.controller.ts +1 -1
- src/shared/modules/upload/old-minio-storage/old-minio-storage.controller.ts +1 -1
- src/shared/modules/upload/seaweedfs-storage/seaweedfs-storage.controller.ts +1 -1
- src/shared/modules/upload/supabase-storage/supabase-storage.controller.ts +1 -1
src/shared/modules/upload/backblaze-storage/backblaze-storage.controller.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { ApiTags, ApiOperation, ApiQuery } from '@nestjs/swagger';
|
|
| 13 |
import { BackblazeStorageService } from './backblaze-storage.service';
|
| 14 |
import { FileType } from './enums/file-type.enum';
|
| 15 |
|
| 16 |
-
@ApiTags('Backblaze B2 Storage')
|
| 17 |
@Controller('backblaze')
|
| 18 |
export class BackblazeStorageController {
|
| 19 |
constructor(
|
|
|
|
| 13 |
import { BackblazeStorageService } from './backblaze-storage.service';
|
| 14 |
import { FileType } from './enums/file-type.enum';
|
| 15 |
|
| 16 |
+
@ApiTags('Upload: Backblaze B2 Storage')
|
| 17 |
@Controller('backblaze')
|
| 18 |
export class BackblazeStorageController {
|
| 19 |
constructor(
|
src/shared/modules/upload/cloudinary/cloudinary.controller.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ApiTags, ApiOperation, ApiQuery } from '@nestjs/swagger';
|
|
| 10 |
import { CloudinaryService } from './cloudinary.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
-
@ApiTags('Cloudinary')
|
| 14 |
@Controller('cloudinary')
|
| 15 |
export class CloudinaryController {
|
| 16 |
constructor(private readonly cloudinaryService: CloudinaryService) {}
|
|
|
|
| 10 |
import { CloudinaryService } from './cloudinary.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
+
@ApiTags('Upload: Cloudinary Storage')
|
| 14 |
@Controller('cloudinary')
|
| 15 |
export class CloudinaryController {
|
| 16 |
constructor(private readonly cloudinaryService: CloudinaryService) {}
|
src/shared/modules/upload/filestack/filestack.controller.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ApiTags, ApiOperation, ApiQuery } from '@nestjs/swagger';
|
|
| 10 |
import { FilestackService } from './filestack.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
-
@ApiTags('Filestack')
|
| 14 |
@Controller('filestack')
|
| 15 |
export class FilestackController {
|
| 16 |
constructor(private readonly filestackService: FilestackService) {}
|
|
|
|
| 10 |
import { FilestackService } from './filestack.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
+
@ApiTags('Upload: Filestack Storage')
|
| 14 |
@Controller('filestack')
|
| 15 |
export class FilestackController {
|
| 16 |
constructor(private readonly filestackService: FilestackService) {}
|
src/shared/modules/upload/imagekitio/imagekitio.controller.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ApiTags, ApiOperation, ApiQuery } from '@nestjs/swagger';
|
|
| 10 |
import { ImagekitioService } from './imagekitio.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
-
@ApiTags('ImageKit.io')
|
| 14 |
@Controller('imagekit')
|
| 15 |
export class ImagekitioController {
|
| 16 |
constructor(private readonly imagekitioService: ImagekitioService) {}
|
|
|
|
| 10 |
import { ImagekitioService } from './imagekitio.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
+
@ApiTags('Upload: ImageKit.io Storage')
|
| 14 |
@Controller('imagekit')
|
| 15 |
export class ImagekitioController {
|
| 16 |
constructor(private readonly imagekitioService: ImagekitioService) {}
|
src/shared/modules/upload/new-minio-storage/new-minio-storage.controller.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ApiTags, ApiOperation, ApiQuery } from '@nestjs/swagger';
|
|
| 10 |
import { MinioStorageService } from './new-minio-storage.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
-
@ApiTags('NewMinio Storage')
|
| 14 |
@Controller('newminio')
|
| 15 |
export class MinioStorageController {
|
| 16 |
constructor(private readonly minioStorageService: MinioStorageService) {}
|
|
|
|
| 10 |
import { MinioStorageService } from './new-minio-storage.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
+
@ApiTags('Upload: NewMinio Storage')
|
| 14 |
@Controller('newminio')
|
| 15 |
export class MinioStorageController {
|
| 16 |
constructor(private readonly minioStorageService: MinioStorageService) {}
|
src/shared/modules/upload/old-minio-storage/old-minio-storage.controller.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ApiTags, ApiOperation, ApiQuery } from '@nestjs/swagger';
|
|
| 10 |
import { OldMinioStorageService } from './old-minio-storage.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
-
@ApiTags('OldMinio Storage')
|
| 14 |
@Controller('oldminio')
|
| 15 |
export class OldMinioStorageController {
|
| 16 |
constructor(
|
|
|
|
| 10 |
import { OldMinioStorageService } from './old-minio-storage.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
+
@ApiTags('Upload: OldMinio Storage')
|
| 14 |
@Controller('oldminio')
|
| 15 |
export class OldMinioStorageController {
|
| 16 |
constructor(
|
src/shared/modules/upload/seaweedfs-storage/seaweedfs-storage.controller.ts
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
| 19 |
import { SeaweedfsStorageService } from './seaweedfs-storage.service';
|
| 20 |
import { FileType } from './enums/file-type.enum';
|
| 21 |
|
| 22 |
-
@ApiTags('SeaweedFS Storage')
|
| 23 |
@Controller('seaweedfs')
|
| 24 |
export class SeaweedfsStorageController {
|
| 25 |
constructor(
|
|
|
|
| 19 |
import { SeaweedfsStorageService } from './seaweedfs-storage.service';
|
| 20 |
import { FileType } from './enums/file-type.enum';
|
| 21 |
|
| 22 |
+
@ApiTags('Upload: SeaweedFS Storage')
|
| 23 |
@Controller('seaweedfs')
|
| 24 |
export class SeaweedfsStorageController {
|
| 25 |
constructor(
|
src/shared/modules/upload/supabase-storage/supabase-storage.controller.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ApiTags, ApiOperation, ApiQuery } from '@nestjs/swagger';
|
|
| 10 |
import { SupabaseStorageService } from './supabase-storage.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
-
@ApiTags('Supabase Storage')
|
| 14 |
@Controller('supabase')
|
| 15 |
export class SupabaseStorageController {
|
| 16 |
constructor(
|
|
|
|
| 10 |
import { SupabaseStorageService } from './supabase-storage.service';
|
| 11 |
import { FileType } from './enums/file-type.enum';
|
| 12 |
|
| 13 |
+
@ApiTags('Upload: Supabase Storage')
|
| 14 |
@Controller('supabase')
|
| 15 |
export class SupabaseStorageController {
|
| 16 |
constructor(
|