summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src/models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-22 17:25:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-22 17:25:57 -0700
commite9d7d73339df14ef2fe35815e693f0dbd7d1d244 (patch)
tree78140de79fbc0c3ace5d65808cba251219d438f3 /rust/fatcat-api-spec/src/models.rs
parent3b30465c2faa0b73ac2973f868105caad1a8e745 (diff)
downloadfatcat-e9d7d73339df14ef2fe35815e693f0dbd7d1d244.tar.gz
fatcat-e9d7d73339df14ef2fe35815e693f0dbd7d1d244.zip
codegen fatcat-api-spec
Diffstat (limited to 'rust/fatcat-api-spec/src/models.rs')
-rw-r--r--rust/fatcat-api-spec/src/models.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/fatcat-api-spec/src/models.rs b/rust/fatcat-api-spec/src/models.rs
index 980d3059..ed37b58a 100644
--- a/rust/fatcat-api-spec/src/models.rs
+++ b/rust/fatcat-api-spec/src/models.rs
@@ -683,9 +683,9 @@ pub struct ReleaseRef {
#[serde(skip_serializing_if = "Option::is_none")]
pub year: Option<i64>,
- #[serde(rename = "container_title")]
+ #[serde(rename = "container_name")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub container_title: Option<String>,
+ pub container_name: Option<String>,
#[serde(rename = "title")]
#[serde(skip_serializing_if = "Option::is_none")]
@@ -704,7 +704,7 @@ impl ReleaseRef {
extra: None,
key: None,
year: None,
- container_title: None,
+ container_name: None,
title: None,
locator: None,
}