From 3085605aeed230ee003f4f406f5b76d6214db079 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 13 May 2019 18:13:58 -0700 Subject: codegen size_bytes -> size --- rust/fatcat-api-spec/src/models.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/fatcat-api-spec/src') 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, - #[serde(rename = "size_bytes")] + #[serde(rename = "size")] #[serde(skip_serializing_if = "Option::is_none")] - pub size_bytes: Option, + pub size: Option, #[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, } -- cgit v1.2.3