From aa6545c4125d800765fa2673a6b4a534cee54aad Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 10 May 2019 15:05:21 -0700 Subject: codegen extid changes (rust) --- rust/fatcat-api-spec/examples/client.rs | 10 +++++----- rust/fatcat-api-spec/examples/server_lib/server.rs | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'rust/fatcat-api-spec/examples') diff --git a/rust/fatcat-api-spec/examples/client.rs b/rust/fatcat-api-spec/examples/client.rs index 0cb4a920..371d6ae2 100644 --- a/rust/fatcat-api-spec/examples/client.rs +++ b/rust/fatcat-api-spec/examples/client.rs @@ -593,11 +593,11 @@ fn main() { Some("isbn13_example".to_string()), Some("pmid_example".to_string()), Some("pmcid_example".to_string()), - Some("core_id_example".to_string()), - Some("arxiv_id_example".to_string()), - Some("jstor_id_example".to_string()), - Some("ark_id_example".to_string()), - Some("mag_id_example".to_string()), + Some("core_example".to_string()), + Some("arxiv_example".to_string()), + Some("jstor_example".to_string()), + Some("ark_example".to_string()), + Some("mag_example".to_string()), Some("expand_example".to_string()), Some("hide_example".to_string()), ) diff --git a/rust/fatcat-api-spec/examples/server_lib/server.rs b/rust/fatcat-api-spec/examples/server_lib/server.rs index 2c67079f..378b4285 100644 --- a/rust/fatcat-api-spec/examples/server_lib/server.rs +++ b/rust/fatcat-api-spec/examples/server_lib/server.rs @@ -845,11 +845,11 @@ impl Api for Server { isbn13: Option, pmid: Option, pmcid: Option, - core_id: Option, - arxiv_id: Option, - jstor_id: Option, - ark_id: Option, - mag_id: Option, + core: Option, + arxiv: Option, + jstor: Option, + ark: Option, + mag: Option, expand: Option, hide: Option, context: &Context, @@ -862,11 +862,11 @@ impl Api for Server { isbn13, pmid, pmcid, - core_id, - arxiv_id, - jstor_id, - ark_id, - mag_id, + core, + arxiv, + jstor, + ark, + mag, expand, hide, context.x_span_id.unwrap_or(String::from("")).clone() -- cgit v1.2.3