Skip to content

[fix] RecipeController OCR 이미지 업로드 및 OcrClient WebClient multipart 처리 개선#94

Merged
iamseojin merged 2 commits intoruntiime:developfrom
iamseojin:ocr-connect-develop
May 25, 2025
Merged

[fix] RecipeController OCR 이미지 업로드 및 OcrClient WebClient multipart 처리 개선#94
iamseojin merged 2 commits intoruntiime:developfrom
iamseojin:ocr-connect-develop

Conversation

@iamseojin
Copy link
Copy Markdown
Contributor

이슈

구현 기능

  • RecipeController
    • /api/recipes/ocr/create 핸들러의 @PostMappingconsumes = MediaType.MULTIPART_FORM_DATA_VALUE 설정을 추가하여 이미지 업로드 요청을 올바르게 수신·파싱하도록 수정
  • OcrClient
    • 기존 bodyValue(builder.build()) 호출을 body(BodyInserters.fromMultipartData(builder.build()))로 변경하여 MultipartBodyBuilder로 구성한 이미지 데이터를 WebClient가 정확히 전송하도록 개선

작업 시간

@iamseojin iamseojin merged commit 196927e into runtiime:develop May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant