Skip to content

Commit 8972510

Browse files
author
hyun123
committed
updated.
1 parent 7d73adf commit 8972510

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/java/kr/co/mcmp/dto/oss/repository/CommonRepository.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ public static class RepositoryDto {
4343
@NotNull
4444
private Boolean online;
4545

46-
@Valid
4746
private StorageDto storage;
4847

49-
@Valid
5048
private DockerDto docker;
5149

5250
@Getter
@@ -57,15 +55,12 @@ public static class RepositoryDto {
5755
public static class StorageDto {
5856

5957
@Schema(title = "아티팩트를 저장하는 물리적 저장소 이름", required = true, example = "default")
60-
@NotBlank
6158
private String blobStoreName;
6259

6360
@Schema(title = "저장되는 아티팩트 유형 일치 여부 검증", required = true)
64-
@NotNull
6561
private Boolean strictContentTypeValidation;
6662

6763
@Schema(title = "레포지토리 읽기/쓰기 설정", required = true, example = "allow, allow_once, deny")
68-
@NotBlank
6964
private String writePolicy;
7065
}
7166

@@ -77,11 +72,9 @@ public static class StorageDto {
7772
public static class DockerDto {
7873

7974
@Schema(title = "도커 registry 버전 지원(false: v2 지원)", required = true)
80-
@NotNull
8175
private Boolean v1Enabled;
8276

8377
@Schema(title = "도커 클라이언트가 레포지토리에 접근할 때 기본 인증 사용 여부", required = true)
84-
@NotNull
8578
private Boolean forceBasicAuth;
8679

8780
@Schema(title = "도커 레포지토리에 접근할 때 사용할 http 포트", example = "8080")

0 commit comments

Comments
 (0)