chore: update everything to work with utoipa
This commit is contained in:
@@ -12,7 +12,7 @@ use rocket::{serde::json::Json, State};
|
||||
/// Open a DM with another user.
|
||||
///
|
||||
/// If the target is oneself, a saved messages channel is returned.
|
||||
#[openapi(tag = "Direct Messaging")]
|
||||
#[utoipa::path(tag = "Direct Messaging")]
|
||||
#[get("/<target>/dm")]
|
||||
pub async fn open_dm(
|
||||
db: &State<Database>,
|
||||
|
||||
Reference in New Issue
Block a user