Skip to content

Commit

Permalink
refactor: 스웨거에 400에러 표시 (#385)
Browse files Browse the repository at this point in the history
(cherry picked from commit a29be69)
  • Loading branch information
daheeParkk authored and Choi-JJunho committed May 9, 2024
1 parent f2e453c commit b909034
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package in.koreatech.koin.domain.user.controller;

import static in.koreatech.koin.domain.user.model.UserType.COOP;
import static in.koreatech.koin.domain.user.model.UserType.OWNER;
import static in.koreatech.koin.domain.user.model.UserType.STUDENT;
import static in.koreatech.koin.domain.user.model.UserType.*;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
Expand Down Expand Up @@ -73,7 +71,7 @@ ResponseEntity<StudentUpdateResponse> updateStudent(
@ApiResponses(
value = {
@ApiResponse(responseCode = "201"),
@ApiResponse(responseCode = "401", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "400", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "403", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "404", content = @Content(schema = @Schema(hidden = true))),
}
Expand Down

0 comments on commit b909034

Please sign in to comment.