summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/examples
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api-spec/examples')
-rw-r--r--rust/fatcat-api-spec/examples/client.rs10
-rw-r--r--rust/fatcat-api-spec/examples/server_lib/server.rs20
2 files changed, 15 insertions, 15 deletions
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<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()