mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json-update): update json and regen all code
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-cloudlatencytest2-cli"
|
||||
version = "0.3.0+20150206"
|
||||
version = "0.3.0+20150508"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with cloudlatencytest (protocol v2)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2-cli"
|
||||
@@ -16,8 +16,8 @@ keywords = ["cloudlatencytest", "google", "cli"]
|
||||
name = "cloudlatencytest2"
|
||||
|
||||
[dependencies]
|
||||
hyper = ">= 0.5.2"
|
||||
mime = "0.0.11"
|
||||
hyper = ">= 0.6.0"
|
||||
mime = "0.0.12"
|
||||
serde = ">= 0.4.1"
|
||||
yup-oauth2 = "*"
|
||||
strsim = "*"
|
||||
|
||||
@@ -21,7 +21,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *cloudlatencytest* API at revision *20150206*. The CLI is at version *0.3.0*.
|
||||
This documentation was generated from the *cloudlatencytest* API at revision *20150508*. The CLI is at version *0.3.0*.
|
||||
|
||||
```bash
|
||||
cloudlatencytest2 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: cloudlatencytest v0.3.0+20150206
|
||||
site_name: cloudlatencytest v0.3.0+20150508
|
||||
site_url: http://byron.github.io/google-apis-rs/google-cloudlatencytest2-cli
|
||||
site_description: Write integrating applications with bcore
|
||||
|
||||
|
||||
@@ -121,6 +121,7 @@ impl<'n, 'a> Engine<'n, 'a> {
|
||||
let mut value = json::value::to_value(&output_schema);
|
||||
remove_json_null_values(&mut value);
|
||||
json::to_writer_pretty(&mut ostream, &value).unwrap();
|
||||
ostream.flush().unwrap();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
@@ -205,6 +206,7 @@ impl<'n, 'a> Engine<'n, 'a> {
|
||||
let mut value = json::value::to_value(&output_schema);
|
||||
remove_json_null_values(&mut value);
|
||||
json::to_writer_pretty(&mut ostream, &value).unwrap();
|
||||
ostream.flush().unwrap();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
@@ -264,7 +266,7 @@ impl<'n, 'a> Engine<'n, 'a> {
|
||||
let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate,
|
||||
if opt.is_present("debug-auth") {
|
||||
hyper::Client::with_connector(mock::TeeConnector {
|
||||
connector: hyper::net::HttpConnector(None)
|
||||
connector: hyper::net::HttpsConnector::<hyper::net::Openssl>::default()
|
||||
})
|
||||
} else {
|
||||
hyper::Client::new()
|
||||
@@ -277,7 +279,7 @@ impl<'n, 'a> Engine<'n, 'a> {
|
||||
let client =
|
||||
if opt.is_present("debug") {
|
||||
hyper::Client::with_connector(mock::TeeConnector {
|
||||
connector: hyper::net::HttpConnector(None)
|
||||
connector: hyper::net::HttpsConnector::<hyper::net::Openssl>::default()
|
||||
})
|
||||
} else {
|
||||
hyper::Client::new()
|
||||
@@ -363,7 +365,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("cloudlatencytest2")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("0.3.0+20150206")
|
||||
.version("0.3.0+20150508")
|
||||
.about("A Test API to report latency data.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudlatencytest2_cli")
|
||||
.arg(Arg::with_name("url")
|
||||
|
||||
Reference in New Issue
Block a user