Skip to content

Commit 70e73ce

Browse files
committed
feat: 코드 리뷰 반영
1 parent 3ce37d8 commit 70e73ce

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

aics-api/src/main/java/kgu/developers/api/certificate/presentation/CertificateController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public interface CertificateController {
2525
"""
2626
)
2727
@ApiResponse(
28-
responseCode = "201", content = @Content(schema = @Schema(implementation = CertificatePersistResponse.class))
28+
responseCode = "200", content = @Content(schema = @Schema(implementation = CertificatePersistResponse.class))
2929
)
3030
ResponseEntity<CertificatePersistResponse> submitCertificateAndSaveFile(
3131
@Parameter(
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
package kgu.developers.api.thesis.presentation.request;
22

3+
import jakarta.validation.constraints.NotNull;
4+
35
public record ThesisSubmitRequest(
6+
@NotNull(message = "졸업 논문 일정 id는 필수입니다.")
47
Long scheduleId
58
) {
69
}

aics-common/src/main/java/kgu/developers/common/config/SecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
8383
"/api/v1/comments",
8484
"/api/v1/carousels",
8585
"/api/v1/thesis",
86+
"/api/v1/certificate",
8687
};
8788

8889
CorsConfigurationSource corsConfigurationSource() {

0 commit comments

Comments
 (0)