Skip to content

Commit

Permalink
added status 400 doc
Browse files Browse the repository at this point in the history
  • Loading branch information
KostashchukIryna committed Jan 14, 2025
1 parent 9726035 commit 37792ca
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 37792ca

Please sign in to comment.