From 0f31efc2c566531397ee6abb8b4d6143f66b8958 Mon Sep 17 00:00:00 2001 From: Gyoungmin Kim Date: Fri, 21 Jun 2024 02:52:37 +0900 Subject: [PATCH] refactor: remove unnecessary parentheses in @PostMapping annotation --- photo-service/src/main/java/kr/mafoo/photo/api/AlbumApi.java | 2 +- photo-service/src/main/java/kr/mafoo/photo/api/PhotoApi.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/photo-service/src/main/java/kr/mafoo/photo/api/AlbumApi.java b/photo-service/src/main/java/kr/mafoo/photo/api/AlbumApi.java index 524c10d..42c6a4f 100644 --- a/photo-service/src/main/java/kr/mafoo/photo/api/AlbumApi.java +++ b/photo-service/src/main/java/kr/mafoo/photo/api/AlbumApi.java @@ -19,7 +19,7 @@ Flux getAlbums( ); @Operation(summary = "앨범 생성", description = "앨범을 생성합니다.") - @PostMapping("") + @PostMapping Mono createAlbum( @RequestBody AlbumCreateRequest request diff --git a/photo-service/src/main/java/kr/mafoo/photo/api/PhotoApi.java b/photo-service/src/main/java/kr/mafoo/photo/api/PhotoApi.java index a052f50..9f8018c 100644 --- a/photo-service/src/main/java/kr/mafoo/photo/api/PhotoApi.java +++ b/photo-service/src/main/java/kr/mafoo/photo/api/PhotoApi.java @@ -22,7 +22,7 @@ Flux getAlbumPhotos( ); @Operation(summary = "사진 생성", description = "사진을 생성합니다.") - @PostMapping("") + @PostMapping Mono createPhoto( @RequestBody PhotoCreateRequest request