1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use utoipa::OpenApi;

//use crate::api::*;
use crate::*;

/// OpenAPI documentation for the RMoods server.
///
/// All routes that should be documented in our interactive docs should be added here.
#[derive(OpenApi)]
#[openapi(paths(
    // debug::lorem,
    // debug::timeout,
    // debug::subreddit_info,
    // debug::post_comments,
    // debug::user_info,
    // debug::subreddit_posts,
    // debug::user_posts,
    auth::login::login
))]
pub struct ApiDoc;