From 74375f814bcced13698a60d24fe3e16aff582b61 Mon Sep 17 00:00:00 2001 From: ibaesuyeon Date: Sat, 9 Dec 2023 04:07:35 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20swagger=20path=20parameter=20?= =?UTF-8?q?=EC=A7=81=EA=B4=80=EC=A0=81=EC=9C=BC=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/CompensationClaimController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/aplus/insurancesystem/domain/compensationClaim/controller/CompensationClaimController.java b/src/main/java/aplus/insurancesystem/domain/compensationClaim/controller/CompensationClaimController.java index 17fb50b..3269122 100644 --- a/src/main/java/aplus/insurancesystem/domain/compensationClaim/controller/CompensationClaimController.java +++ b/src/main/java/aplus/insurancesystem/domain/compensationClaim/controller/CompensationClaimController.java @@ -47,10 +47,10 @@ public ResponseEntity>> getAllCo description = "고객ID로 청구 내역(리스트) 반환"), }) - @GetMapping("/{id}") + @GetMapping("/{customerId}") public ResponseEntity>> getCompensationClaim( @Parameter(description = "고객 id", in = ParameterIn.PATH) - @PathVariable("id") Long customerId) { + @PathVariable("customerId") Long customerId) { return SuccessResponse.of( compensationClaimService.getCompensationClaim(customerId) ).asHttp(HttpStatus.OK); @@ -85,10 +85,10 @@ public ResponseEntity> getCompensatio description = "CC001: id에 해당하는 청구 내역을 찾을 수 없습니다.", content = @Content(schema = @Schema(hidden = true))) }) - @GetMapping("/{id}/document") + @GetMapping("/{ccid}/document") public ResponseEntity getSubscription(@Parameter(description = "청구 id", in = ParameterIn.PATH) - @PathVariable("id") Long ccid) { + @PathVariable("ccid") Long ccid) { HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_OCTET_STREAM); return ResponseEntity.ok()