diff --git a/src/config/api_doc.rs b/src/config/api_doc.rs index 80df509..32cf745 100644 --- a/src/config/api_doc.rs +++ b/src/config/api_doc.rs @@ -2,7 +2,7 @@ use crate::{ modules::user::{ user_controllers::{ __path_delete_user, __path_detail_user, __path_insert_user, __path_list_users, - __path_login_user, __path_put_user, __path_user_options, + __path_login_user, __path_put_user, __path_user_id_options, __path_user_options, }, user_dtos::{DeleteUserDTO, DetailUserDTO, InsertUserDTO, LoginUserDTO, PutUserDTO}, }, @@ -20,7 +20,7 @@ use utoipa_swagger_ui::SwaggerUi; pub fn api_doc() -> SwaggerUi { #[derive(OpenApi)] #[openapi( - paths(user_options, insert_user, login_user, detail_user, list_users, delete_user, put_user), + paths(user_options, insert_user, login_user, detail_user, list_users, delete_user, put_user, user_id_options), components( schemas( InsertUserDTO,