fix: 샘플 데이타 오류 fix

dev
gitea-관리자 1 year ago
parent 65de16171f
commit ee3e9c63da

@ -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

@ -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(

@ -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;
}

Loading…
Cancel
Save