From 96c7defcf6a2673f9ce096300601b3adb627d9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B2=A8=EB=9D=BC?= Date: Thu, 15 May 2025 12:04:41 +0900 Subject: [PATCH] =?UTF-8?q?[#55]=20Docs:=20=EB=AA=85=EC=84=B8=EC=84=9C=20?= =?UTF-8?q?=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/specification/EducationInfoSpecification.java | 3 +++ .../web/controller/specification/JobInfoSpecification.java | 3 +++ .../web/controller/specification/PolicyInfoSpecification.java | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/main/java/com/parentsgowork/server/web/controller/specification/EducationInfoSpecification.java b/src/main/java/com/parentsgowork/server/web/controller/specification/EducationInfoSpecification.java index c5237b2..6382843 100644 --- a/src/main/java/com/parentsgowork/server/web/controller/specification/EducationInfoSpecification.java +++ b/src/main/java/com/parentsgowork/server/web/controller/specification/EducationInfoSpecification.java @@ -16,6 +16,7 @@ public interface EducationInfoSpecification { @Operation(summary = "내가 저장한 교육정보 리스트 조회", description = "내가 저장한 교육정보 리스트를 조회합니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4001", description = "❌ 교육정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse> getEducationInfoList(); @@ -24,6 +25,7 @@ public interface EducationInfoSpecification { @Operation(summary = "특정 교육정보 조회", description = "내가 저장한 특정 교육정보를 조회합니다. 교육정보 아이디 값을 보내주세요.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4001", description = "❌ 교육정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse getEducationInfoDetails(@PathVariable Long educationInfoId); @@ -32,6 +34,7 @@ public interface EducationInfoSpecification { @Operation(summary = "내가 저장한 교육정보 삭제", description = "내가 저장한 특정 교육정보를 삭제합니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4001", description = "❌ 교육정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse deleteEducationInfo(@PathVariable("educationInfoId") Long educationInfoId); diff --git a/src/main/java/com/parentsgowork/server/web/controller/specification/JobInfoSpecification.java b/src/main/java/com/parentsgowork/server/web/controller/specification/JobInfoSpecification.java index 47fcafd..979ddf0 100644 --- a/src/main/java/com/parentsgowork/server/web/controller/specification/JobInfoSpecification.java +++ b/src/main/java/com/parentsgowork/server/web/controller/specification/JobInfoSpecification.java @@ -38,6 +38,7 @@ public interface JobInfoSpecification { @Operation(summary = "내가 저장한 구직정보 리스트 조회", description = "내가 저장한 구직정보 리스트를 조회합니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4003", description = "❌ 구직정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse> getJobInfoList(); @@ -46,6 +47,7 @@ public interface JobInfoSpecification { @Operation(summary = "특정 구직정보 조회", description = "내가 저장한 특정 구직정보를 조회합니다. 구직정보 아이디 값을 보내주세요.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4003", description = "❌ 구직정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse getJobInfoDetails(@PathVariable Long jobInfoId); @@ -54,6 +56,7 @@ public interface JobInfoSpecification { @Operation(summary = "내가 저장한 구직정보 삭제", description = "내가 저장한 특정 구직정보를 삭제합니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4003", description = "❌ 구직정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse deleteJobInfo(@PathVariable("jobInfoId") Long jobInfoId); diff --git a/src/main/java/com/parentsgowork/server/web/controller/specification/PolicyInfoSpecification.java b/src/main/java/com/parentsgowork/server/web/controller/specification/PolicyInfoSpecification.java index 9b81aba..bfa57ea 100644 --- a/src/main/java/com/parentsgowork/server/web/controller/specification/PolicyInfoSpecification.java +++ b/src/main/java/com/parentsgowork/server/web/controller/specification/PolicyInfoSpecification.java @@ -18,6 +18,7 @@ public interface PolicyInfoSpecification { @Operation(summary = "내가 저장한 고용 정책/복지 리스트 조회", description = "내가 저장한 고용 정책/복지 리스트를 조회합니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4002", description = "❌ 고용 정책/복지 정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse> getPolicyInfoList(); @@ -26,6 +27,7 @@ public interface PolicyInfoSpecification { @Operation(summary = "특정 고용 정책/복지 조회", description = "내가 저장한 특정 고용 정책/복지를 조회합니다. 고용 정책/복지 아이디 값을 보내주세요.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4002", description = "❌ 고용 정책/복지 정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse getPolicyInfoDetails(@PathVariable Long policyInfoId); @@ -34,6 +36,7 @@ public interface PolicyInfoSpecification { @Operation(summary = "내가 저장한 고용 정책/복지 삭제", description = "내가 저장한 특정 고용 정책/복지를 삭제합니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "⭕ SUCCESS, 성공"), + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "BOOKMARK4002", description = "❌ 고용 정책/복지 정보가 존재하지 않습니다.", content = @Content(schema = @Schema(implementation = ApiResponse.class))), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON400", description = "❌ BAD, 잘못된 요청", content = @Content(schema = @Schema(implementation = ApiResponse.class))) }) ApiResponse deletePolicyInfo(@PathVariable("policyInfoId") Long policyInfoId);