regen all APIs and CLIs

This commit is contained in:
Sebastian Thiel
2022-04-26 11:12:08 +08:00
parent cc296a57b6
commit f393030e84
2544 changed files with 26840 additions and 24926 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-surveys2-cli"
version = "3.0.0+20180508"
version = "3.1.0+20180508"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Surveys (protocol v2)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2-cli"
@@ -19,12 +19,12 @@ name = "surveys2"
path = "src/main.rs"
[dependencies]
hyper-rustls = "^0.22"
hyper-rustls = "0.23.0"
mime = "^ 0.2.0"
serde = "^ 1.0"
serde_json = "^ 1.0"
serde_derive = "^ 1.0"
yup-oauth2 = "^ 6.0"
yup-oauth2 = "^ 6.6"
itertools = "^ 0.10"
strsim = "^0.5"
clap = "^2.0"
@@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] }
[dependencies.google-surveys2]
path = "../surveys2"
version = "3.0.0+20180508"
version = "3.1.0+20180508"

View File

@@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
# Usage
This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *3.0.0*.
This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *3.1.0*.
```bash
surveys2 [options]

View File

@@ -1,4 +1,4 @@
site_name: Surveys v3.0.0+20180508
site_name: Surveys v3.1.0+20180508
site_url: http://byron.github.io/google-apis-rs/google-surveys2-cli
site_description: A complete library to interact with Surveys (protocol v2)

View File

@@ -725,7 +725,13 @@ impl<'n> Engine<'n> {
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).persist_tokens_to_disk(format!("{}/surveys2", config_dir)).build().await.unwrap();
let client = hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots());
let client = hyper::Client::builder().build(
hyper_rustls::HttpsConnectorBuilder::new().with_native_roots()
.https_or_http()
.enable_http1()
.enable_http2()
.build()
);
let engine = Engine {
opt: opt,
hub: api::Surveys::new(client, auth),
@@ -955,7 +961,7 @@ async fn main() {
let mut app = App::new("surveys2")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("3.0.0+20180508")
.version("3.1.0+20180508")
.about("Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_surveys2_cli")
.arg(Arg::with_name("url")