cognee-http-server 0.1.0-rc.1

HTTP server exposing the cognee add/cognify/search pipeline (single-user, no-auth).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! DTOs for the reset-password router.

use serde::Deserialize;
use utoipa::ToSchema;

/// Request body for `POST /api/v1/auth/forgot-password`.
#[derive(Debug, Deserialize, ToSchema)]
pub struct ForgotPasswordPayloadDTO {
    pub email: String,
}

/// Request body for `POST /api/v1/auth/reset-password`.
#[derive(Debug, Deserialize, ToSchema)]
pub struct ResetPasswordPayloadDTO {
    pub token: String,
    pub password: String,
}