diff --git a/mens-api/src/main/java/kr/xit/ens/support/nice/service/NiceCiService.java b/mens-api/src/main/java/kr/xit/ens/support/nice/service/NiceCiService.java index 73469d1..a2c031e 100644 --- a/mens-api/src/main/java/kr/xit/ens/support/nice/service/NiceCiService.java +++ b/mens-api/src/main/java/kr/xit/ens/support/nice/service/NiceCiService.java @@ -102,9 +102,6 @@ public class NiceCiService extends EgovAbstractServiceImpl implements INiceCiSer private final CmmEnsCacheService cacheService; private final ICmmEnsMapper cmmEnsMapper; - private final CacheManager cacheManager; // Bean 주입 - private static int AAA = 0; - //-------------------------------------------------------------------------------- // 기관용 Token diff --git a/mens-api/src/main/java/kr/xit/ens/support/nice/web/NiceCiController.java b/mens-api/src/main/java/kr/xit/ens/support/nice/web/NiceCiController.java index 5b71080..6b891ad 100644 --- a/mens-api/src/main/java/kr/xit/ens/support/nice/web/NiceCiController.java +++ b/mens-api/src/main/java/kr/xit/ens/support/nice/web/NiceCiController.java @@ -1,6 +1,8 @@ package kr.xit.ens.support.nice.web; import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.media.Content; +import io.swagger.v3.oas.annotations.media.ExampleObject; import io.swagger.v3.oas.annotations.tags.Tag; import kr.xit.biz.ens.model.nice.NiceCiDTO.PublickeyRequest; import kr.xit.biz.ens.model.nice.NiceCiDTO.SymmetrickeyRegRequest; @@ -65,21 +67,6 @@ public class NiceCiController { * @param reqDTO * @return */ - /*@io.swagger.v3.oas.annotations.parameters.RequestBody(required = true, content = { - @Content(mediaType = "application/json", examples = { - @ExampleObject(value = """ - { - "dataHeader": { - "TRAN_ID": "20201119140000", - "CNTY_ID": "kr" - }, - "dataBody": { - "req_dtim": "2023090612122259" - } - } - """) - }) - })*/ @Operation(summary = "공개키 요청", description = "공개키 요청") @PostMapping(value = "/requestPublickey", produces = MediaType.APPLICATION_JSON_VALUE) public ApiResponseDTO requestPublickey( diff --git a/mens-core/src/main/java/kr/xit/biz/ens/model/nice/NiceCiDTO.java b/mens-core/src/main/java/kr/xit/biz/ens/model/nice/NiceCiDTO.java index 103f1cd..31ad5b2 100644 --- a/mens-core/src/main/java/kr/xit/biz/ens/model/nice/NiceCiDTO.java +++ b/mens-core/src/main/java/kr/xit/biz/ens/model/nice/NiceCiDTO.java @@ -2,6 +2,7 @@ package kr.xit.biz.ens.model.nice; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.annotation.JsonNaming; import io.swagger.v3.oas.annotations.media.Schema; @@ -253,7 +254,7 @@ public class NiceCiDTO { /** * 공개키 요청일시 (YYYYMMDDHH24MISS) */ - @Schema(requiredMode = RequiredMode.REQUIRED, title = "공개키 요청일시", example = "2023090612122259") + @Schema(requiredMode = RequiredMode.REQUIRED, title = "공개키 요청일시", example = "20230906121259") @Size(min = 14, max = 14, message = "요청일시(req_dtim)는 필수 입니다(14자리)") private String reqDtim; }