summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api-spec/src')
-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 1d6b5088..ee0079f5 100644
--- a/rust/fatcat-api-spec/src/models.rs
+++ b/rust/fatcat-api-spec/src/models.rs
@@ -1197,9 +1197,9 @@ pub struct WebcaptureEntityCdx {
#[serde(skip_serializing_if = "Option::is_none")]
pub status_code: Option<i64>,
- #[serde(rename = "size_bytes")]
+ #[serde(rename = "size")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub size_bytes: Option<i64>,
+ pub size: Option<i64>,
#[serde(rename = "sha1")]
pub sha1: String,
@@ -1217,7 +1217,7 @@ impl WebcaptureEntityCdx {
url: url,
mimetype: None,
status_code: None,
- size_bytes: None,
+ size: None,
sha1: sha1,
sha256: None,
}