summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/examples/server_lib/server.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-10 15:05:21 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-10 15:05:21 -0700
commitaa6545c4125d800765fa2673a6b4a534cee54aad (patch)
tree735d728d396fa3c95d0e3c24578a02e923168be3 /rust/fatcat-api-spec/examples/server_lib/server.rs
parentb07f92545eaf112db735903dac8f7809fe62440a (diff)
downloadfatcat-aa6545c4125d800765fa2673a6b4a534cee54aad.tar.gz
fatcat-aa6545c4125d800765fa2673a6b4a534cee54aad.zip
codegen extid changes (rust)
Diffstat (limited to 'rust/fatcat-api-spec/examples/server_lib/server.rs')
-rw-r--r--rust/fatcat-api-spec/examples/server_lib/server.rs20
1 files changed, 10 insertions, 10 deletions
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<String>,
pmid: Option<String>,
pmcid: Option<String>,
- core_id: Option<String>,
- arxiv_id: Option<String>,
- jstor_id: Option<String>,
- ark_id: Option<String>,
- mag_id: Option<String>,
+ core: Option<String>,
+ arxiv: Option<String>,
+ jstor: Option<String>,
+ ark: Option<String>,
+ mag: Option<String>,
expand: Option<String>,
hide: Option<String>,
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("<none>")).clone()