docs: documentation for every endpoint

This commit is contained in:
Timo Kösters
2021-08-31 19:14:37 +02:00
parent 364820aae4
commit b9eb39a9c6
35 changed files with 847 additions and 93 deletions

View File

@@ -71,6 +71,9 @@ pub const DEVICE_ID_LENGTH: usize = 10;
pub const TOKEN_LENGTH: usize = 256;
pub const SESSION_ID_LENGTH: usize = 256;
/// # `OPTIONS`
///
/// Web clients use this to get CORS headers.
#[cfg(feature = "conduit_bin")]
#[options("/<_..>")]
#[tracing::instrument]