aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/examples/server_lib
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-09 00:05:29 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-09 00:05:29 -0700
commitbf63870c88b5a62a2aad08929465b37d8be474dc (patch)
treeff1b2d78e9cce854563f89ab5828e63fa5f4fb94 /rust/fatcat-api-spec/examples/server_lib
parent8888e6ea1af818a0a5dfb7414fa767ae176d092f (diff)
downloadfatcat-bf63870c88b5a62a2aad08929465b37d8be474dc.tar.gz
fatcat-bf63870c88b5a62a2aad08929465b37d8be474dc.zip
rust codegen
Diffstat (limited to 'rust/fatcat-api-spec/examples/server_lib')
-rw-r--r--rust/fatcat-api-spec/examples/server_lib/server.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/rust/fatcat-api-spec/examples/server_lib/server.rs b/rust/fatcat-api-spec/examples/server_lib/server.rs
index 98f31485..2c67079f 100644
--- a/rust/fatcat-api-spec/examples/server_lib/server.rs
+++ b/rust/fatcat-api-spec/examples/server_lib/server.rs
@@ -848,13 +848,15 @@ impl Api for Server {
core_id: Option<String>,
arxiv_id: Option<String>,
jstor_id: Option<String>,
+ ark_id: Option<String>,
+ mag_id: Option<String>,
expand: Option<String>,
hide: Option<String>,
context: &Context,
) -> Box<Future<Item = LookupReleaseResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
- "lookup_release({:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
+ "lookup_release({:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
doi,
wikidata_qid,
isbn13,
@@ -863,6 +865,8 @@ impl Api for Server {
core_id,
arxiv_id,
jstor_id,
+ ark_id,
+ mag_id,
expand,
hide,
context.x_span_id.unwrap_or(String::from("<none>")).clone()