Skip to content

Commit

Permalink
Merge pull request #281 from j1nxie/feat/custom_list_resexp
Browse files Browse the repository at this point in the history
feat: add reference expansion for custom lists
  • Loading branch information
tonymushah authored Oct 14, 2024
2 parents fcaff69 + 37300f0 commit abd925a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mangadex-api/src/v5/custom_list/id/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
//! ```

use derive_builder::Builder;
use mangadex_api_types::ReferenceExpansionResource;
use serde::Serialize;
use uuid::Uuid;

Expand All @@ -52,6 +53,9 @@ pub struct GetCustomList {

#[serde(skip_serializing)]
pub list_id: Uuid,

#[builder(setter(each = "include"), default)]
pub includes: Vec<ReferenceExpansionResource>,
}

endpoint! {
Expand Down

0 comments on commit abd925a

Please sign in to comment.