blob 이미지 업로드 완료

This commit is contained in:
bluebamus committed 2025-12-26 15:25:13 +09:00
1 parent 6917a76d60
commit 12e6f7357c
8 files changed
+756 -447

No files matched your search

+4 -1
View File
@@ -203,7 +203,9 @@ class ImageUploadResultItem(BaseModel):
img_name: str = Field(..., description="이미지명")
img_url: str = Field(..., description="이미지 URL")
img_order: int = Field(..., description="이미지 순서")
source: Literal["url", "file"] = Field(..., description="이미지 소스 (url 또는 file)")
source: Literal["url", "file", "blob"] = Field(
..., description="이미지 소스 (url: 외부 URL, file: 로컬 서버, blob: Azure Blob)"
)
class ImageUploadResponse(BaseModel):
@@ -213,4 +215,5 @@ class ImageUploadResponse(BaseModel):
total_count: int = Field(..., description="총 업로드된 이미지 개수")
url_count: int = Field(..., description="URL로 등록된 이미지 개수")
file_count: int = Field(..., description="파일로 업로드된 이미지 개수")
saved_count: int = Field(..., description="Image 테이블에 저장된 row 수")
images: list[ImageUploadResultItem] = Field(..., description="업로드된 이미지 목록")