Files
movies-diary/crates/presentation/src/openapi/users.rs
Gabriel Kaszewski a7a11dde08
Some checks failed
CI / Check / Test (push) Has been cancelled
refactor: split monolithic handlers + testing into domain-grouped modules
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.
2026-06-08 23:59:23 +02:00

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;