chore: update everything to work with utoipa

This commit is contained in:
Zomatree
2025-11-13 23:06:41 +00:00
parent 27ea7345ea
commit ac60b2c795
148 changed files with 1200 additions and 1117 deletions

View File

@@ -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>,