Skip to content

Commit

Permalink
Missing status code 400 description in recommended-friends (#8028)
Browse files Browse the repository at this point in the history
  • Loading branch information
KostashchukIryna authored Jan 15, 2025
1 parent 3712663 commit f66b1b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/greencity/controller/FriendController.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ public ResponseEntity<PageableDto<UserFriendDto>> findAllUsersExceptMainUserAndU
@Operation(summary = "Find recommended friends by type")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = HttpStatuses.OK),
@ApiResponse(responseCode = "400", description = HttpStatuses.BAD_REQUEST,
content = @Content(examples = @ExampleObject(HttpStatuses.BAD_REQUEST))),
@ApiResponse(responseCode = "401", description = HttpStatuses.UNAUTHORIZED,
content = @Content(examples = @ExampleObject(HttpStatuses.UNAUTHORIZED))),
})
Expand Down

0 comments on commit f66b1b2

Please sign in to comment.