Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
fixup: doc (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImSoZRious authored Jul 14, 2023
1 parent 97f0f83 commit 957f256
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/handler/group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,16 @@ pub async fn delete_member(
}

/// Leave group
///
/// Leader of the group cannot leave group
#[utoipa::path(
delete,
path = "/group/leave",
tag = "Group",
responses(
(status = 200, description = "Success", body = Group),
(status = 401, description = "Unauthorized"),
(status = 403, description = "Forbidden"),
),
security(
("api_key" = [])
Expand Down

0 comments on commit 957f256

Please sign in to comment.