Skip to content

Commit

Permalink
Merge :: Swagger문서 수정 #17 from 8Bit-beep/fix2
Browse files Browse the repository at this point in the history
Fix :: StudentController 수정
  • Loading branch information
heunseoRyu authored Apr 20, 2024
2 parents 2dffdd0 + 8d10181 commit 6859a5d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public List<AdminStudentResponse> studentList(){

@GetMapping("student")
@ResponseStatus(HttpStatus.OK)
@Tag(name = "학생프로필 조회", description = "학생프로필 조회입니다 (student)")
@Operation(summary = "학생프로필 조회", description = "학생프로필 조회입니다 (student)")
public StudentInfoResponse getInfo(
@RequestHeader(name = "Authorization") String token
) {
Expand All @@ -45,7 +45,7 @@ public StudentInfoResponse getInfo(

@GetMapping("/students/{grade}")
@ResponseStatus(HttpStatus.OK)
@Tag(name = "반 조회", description = "학년 param로 반을 조회합니다.(teacher)")
@Operation(summary = "반 조회", description = "학년 param로 반을 조회합니다.(teacher)")
public List<GetClsResponse> getCls(
@PathVariable int grade
){
Expand All @@ -54,7 +54,7 @@ public List<GetClsResponse> getCls(

@GetMapping("/students/{grade}/{cls}")
@ResponseStatus(HttpStatus.OK)
@Tag(name = "반 구성원 조회", description = "학년-반으로 반 구성원 목록을 조회합니다. (teacher)")
@Operation(summary = "반 구성원 조회", description = "학년-반으로 반 구성원 목록을 조회합니다. (teacher)")
public List<GetStudentResponse> getStudents(
@PathVariable int grade,
@PathVariable int cls
Expand All @@ -64,7 +64,7 @@ public List<GetStudentResponse> getStudents(

@GetMapping("/students/name")
@ResponseStatus(HttpStatus.OK)
@Tag(name = "학생 조회", description = "학생이름으로 학생을 조회합니다.(teacher)")
@Operation(summary = "학생 조회", description = "학생이름으로 학생을 조회합니다.(teacher)")
public List<SearchStudentResponse> searchStudents(
@RequestParam String name
){
Expand Down

0 comments on commit 6859a5d

Please sign in to comment.