Some checks failed
CI / Check / Test (push) Has been cancelled
handlers/api.rs (1706 LOC) + html.rs (1735 LOC) → 12 domain files: auth, diary, movies, users, search, watchlist, goals, social, integrations, helpers + existing import/webhook/wrapup/images/rss. domain/testing.rs (1309 LOC) → testing/ module: in_memory, fakes, noops, panics, wrapup. Update README + architecture.mmd with goals feature.
27 lines
723 B
Rust
27 lines
723 B
Rust
use api_types::{
|
|
ProfileFieldDto, ProfileResponse, UpdateProfileFieldsRequest, UserProfileResponse,
|
|
UserStatsDto, UserSummaryDto, UsersResponse,
|
|
};
|
|
use utoipa::OpenApi;
|
|
|
|
#[derive(OpenApi)]
|
|
#[openapi(
|
|
paths(
|
|
crate::handlers::users::list_users,
|
|
crate::handlers::users::get_user_profile,
|
|
crate::handlers::users::get_profile,
|
|
crate::handlers::users::update_profile_handler,
|
|
crate::handlers::users::update_profile_fields_handler,
|
|
),
|
|
components(schemas(
|
|
UsersResponse,
|
|
UserSummaryDto,
|
|
UserProfileResponse,
|
|
UserStatsDto,
|
|
ProfileResponse,
|
|
UpdateProfileFieldsRequest,
|
|
ProfileFieldDto,
|
|
))
|
|
)]
|
|
pub struct UsersDoc;
|