mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(code-gen): update to latest version
Which is to be published
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-qpxexpress1-cli"
|
||||
version = "0.3.6+20160307"
|
||||
version = "0.3.6+20160708"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with QPX Express (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/qpxexpress1-cli"
|
||||
@@ -19,10 +19,10 @@ name = "qpxexpress1"
|
||||
[dependencies]
|
||||
hyper = "^ 0.9"
|
||||
mime = "^ 0.2.0"
|
||||
serde = "^ 0.7.5"
|
||||
serde_json = "^ 0.7.0"
|
||||
yup-oauth2 = { version = "^ 0.6.0", optional = true, default-features = false }
|
||||
serde_macros = { version = "^ 0.7.5", optional = true }
|
||||
serde = "^ 0.8"
|
||||
serde_json = "^ 0.8"
|
||||
yup-oauth2 = { version = "^ 0.6", optional = true, default-features = false }
|
||||
serde_macros = { version = "^ 0.8", optional = true }
|
||||
strsim = "^0.4"
|
||||
yup-hyper-mock = "^1.0"
|
||||
clap = "^2.0"
|
||||
@@ -33,7 +33,7 @@ nightly = ["serde_macros","yup-oauth2/nightly","google-qpxexpress1/nightly"]
|
||||
with-serde-codegen = ["serde_codegen","yup-oauth2/with-serde-codegen","google-qpxexpress1/with-serde-codegen"]
|
||||
|
||||
[build-dependencies]
|
||||
serde_codegen = { version = "^ 0.7.14", optional = true }
|
||||
serde_codegen = { version = "^ 0.8", optional = true }
|
||||
|
||||
|
||||
[dependencies.google-qpxexpress1]
|
||||
|
||||
@@ -24,7 +24,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *QPX Express* API at revision *20160307*. The CLI is at version *0.3.6*.
|
||||
This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *0.3.6*.
|
||||
|
||||
```bash
|
||||
qpxexpress1 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: QPX Express v0.3.6+20160307
|
||||
site_name: QPX Express v0.3.6+20160708
|
||||
site_url: http://byron.github.io/google-apis-rs/google-qpxexpress1-cli
|
||||
site_description: Write integrating applications with bcore
|
||||
|
||||
|
||||
@@ -68,7 +68,6 @@ impl<'n> Engine<'n> {
|
||||
|
||||
let type_info: Option<(&'static str, JsonTypeInfo)> =
|
||||
match &temp_cursor.to_string()[..] {
|
||||
"request.refundable" => Some(("request.refundable", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
|
||||
"request.passengers.kind" => Some(("request.passengers.kind", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
|
||||
"request.passengers.infant-in-lap-count" => Some(("request.passengers.infantInLapCount", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
"request.passengers.senior-count" => Some(("request.passengers.seniorCount", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
@@ -76,10 +75,12 @@ impl<'n> Engine<'n> {
|
||||
"request.passengers.child-count" => Some(("request.passengers.childCount", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
"request.passengers.adult-count" => Some(("request.passengers.adultCount", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
"request.sale-country" => Some(("request.saleCountry", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
"request.solutions" => Some(("request.solutions", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
"request.max-price" => Some(("request.maxPrice", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
|
||||
"request.ticketing-country" => Some(("request.ticketingCountry", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
"request.solutions" => Some(("request.solutions", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
|
||||
"request.refundable" => Some(("request.refundable", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
|
||||
_ => {
|
||||
let suggestion = FieldCursor::did_you_mean(key, &vec!["adult-count", "child-count", "infant-in-lap-count", "infant-in-seat-count", "kind", "max-price", "passengers", "refundable", "request", "sale-country", "senior-count", "solutions"]);
|
||||
let suggestion = FieldCursor::did_you_mean(key, &vec!["adult-count", "child-count", "infant-in-lap-count", "infant-in-seat-count", "kind", "max-price", "passengers", "refundable", "request", "sale-country", "senior-count", "solutions", "ticketing-country"]);
|
||||
err.issues.push(CLIError::Field(FieldError::Unknown(temp_cursor.to_string(), suggestion, value.map(|v| v.to_string()))));
|
||||
None
|
||||
}
|
||||
@@ -263,7 +264,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("qpxexpress1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("0.3.6+20160307")
|
||||
.version("0.3.6+20160708")
|
||||
.about("Finds the least expensive flights between an origin and a destination.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_qpxexpress1_cli")
|
||||
.arg(Arg::with_name("folder")
|
||||
|
||||
Reference in New Issue
Block a user