File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -369,6 +369,26 @@ paths:
369369 type : integer
370370 format : int64
371371 description : 생성된 여행 ID
372+ /trip-logs/images/presigned-url :
373+ post :
374+ tags :
375+ - triplog
376+ summary : 이미지 업로드용 Presigned URL 생성
377+ security :
378+ - bearerAuth : []
379+ requestBody :
380+ required : true
381+ content :
382+ application/json :
383+ schema :
384+ $ref : ' #/components/schemas/ImageUploadRequestDto'
385+ responses :
386+ ' 200 ' :
387+ description : 생성 성공
388+ content :
389+ application/json :
390+ schema :
391+ $ref : ' #/components/schemas/PresignedUrlResponseDto'
372392 /trip-logs :
373393 post :
374394 tags :
@@ -404,7 +424,7 @@ paths:
404424 schema :
405425 type : integer
406426 default : 1
407- - name : size
427+ - name : limit
408428 in : query
409429 schema :
410430 type : integer
@@ -442,14 +462,24 @@ paths:
442462 post :
443463 tags :
444464 - spot
445- summary : 장소 생성
465+ summary : 장소 생성 (Upsert)
466+ description : |
467+ - Kakao Place ID로 장소를 생성하거나 조회합니다.
468+ - 이미 존재하면 200 OK와 함께 기존 장소 정보를 반환합니다.
469+ - 존재하지 않으면 201 Created와 함께 새 장소를 생성하고 반환합니다.
446470 requestBody :
447471 required : true
448472 content :
449473 application/json :
450474 schema :
451475 $ref : ' #/components/schemas/SpotRequestDto'
452476 responses :
477+ ' 200 ' :
478+ description : 이미 존재하는 장소 반환
479+ content :
480+ application/json :
481+ schema :
482+ $ref : ' #/components/schemas/SpotResponseDto'
453483 ' 201 ' :
454484 description : 생성 성공
455485 content :
@@ -1018,6 +1048,18 @@ components:
10181048 scheme : bearer
10191049 bearerFormat : JWT
10201050 schemas :
1051+ ImageUploadRequestDto :
1052+ type : object
1053+ properties :
1054+ fileName :
1055+ type : string
1056+ description : 업로드할 파일명 (확장자 포함)
1057+ PresignedUrlResponseDto :
1058+ type : object
1059+ properties :
1060+ presignedUrl :
1061+ type : string
1062+ description : S3 업로드용 Presigned URL
10211063 LoginRequestDto :
10221064 type : object
10231065 properties :
You can’t perform that action at this time.
0 commit comments