forked from jmug/stoatchat
chore: update everything to work with utoipa
This commit is contained in:
@@ -13,7 +13,7 @@ use validator::Validate;
|
||||
/// # Edit Message
|
||||
///
|
||||
/// Edits a message that you've previously sent.
|
||||
#[openapi(tag = "Messaging")]
|
||||
#[utoipa::path(tag = "Messaging")]
|
||||
#[patch("/<target>/messages/<msg>", data = "<edit>")]
|
||||
pub async fn edit(
|
||||
db: &State<Database>,
|
||||
|
||||
Reference in New Issue
Block a user