diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-17 00:09:46 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-17 00:09:46 -0700 |
commit | 6aee40ac9538f9391c9e630efddf4b39fdad5a50 (patch) | |
tree | 1f8964407f78e8379e4dbbac3ee4ef117ae5b7f4 /rust/fatcat-api/examples/client.rs | |
parent | 0f6ac22fee0332627ef86f10306d67b997396b61 (diff) | |
download | fatcat-6aee40ac9538f9391c9e630efddf4b39fdad5a50.tar.gz fatcat-6aee40ac9538f9391c9e630efddf4b39fdad5a50.zip |
fix api spec
Diffstat (limited to 'rust/fatcat-api/examples/client.rs')
-rw-r--r-- | rust/fatcat-api/examples/client.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/rust/fatcat-api/examples/client.rs b/rust/fatcat-api/examples/client.rs index 3302c0cd..b2edead6 100644 --- a/rust/fatcat-api/examples/client.rs +++ b/rust/fatcat-api/examples/client.rs @@ -29,7 +29,6 @@ fn main() { "CreatorLookupGet", "EditgroupIdAcceptPost", "EditgroupIdGet", - "EditgroupPost", "EditorUsernameChangelogGet", "EditorUsernameGet", "FileIdGet", @@ -105,11 +104,11 @@ fn main() { println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>"))); } - Some("EditgroupPost") => { - let result = client.editgroup_post().wait(); - println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>"))); - } - + // Disabled because there's no example. + // Some("EditgroupPost") => { + // let result = client.editgroup_post(???).wait(); + // println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>"))); + // }, Some("EditorUsernameChangelogGet") => { let result = client.editor_username_changelog_get("username_example".to_string()).wait(); println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>"))); |